NISUS Archives

May 2011

NISUS@LISTSERV.DARTMOUTH.EDU

Options: Use Monospaced Font
Show Text Part by Default
Show All Mail Headers

Message: [<< First] [< Prev] [Next >] [Last >>]
Topic: [<< First] [< Prev] [Next >] [Last >>]
Author: [<< First] [< Prev] [Next >] [Last >>]

Print Reply
Subject:
From:
Reply To:
Date:
Mon, 30 May 2011 20:27:28 +0900
Content-Type:
text/plain
Parts/Attachments:
text/plain (25 lines)
On 2011-05-30 [+0900 JST], at 6:46 PM, Žorvaršur Davķšsson wrote:

> Names of chapters and/or poems are usually written in UPPERCASE and span one paragraph. I'm now trying to write a macro that selects all chapter names

Does this work for you?

Find All '^\p{Upper}[\P{Lower}&&[^\n]]*$', 'E-i'

> Can I search for AnyWord in uppercase? I could do that in Nisus Classic if I highlighted AnyWord in the Find Box and executed Edit >  Convert > To UPPERCASE
> 
> but in NWP this seems not to work so as an alternative I am forced to use Wild Card > AnyUppercaseLetter.
> 
> Is this correct?

Correct.

> I mean, is AnyUppercaseLetter the way to go? I would be interested in hearing whether there is an alternative search criterion available?

I prefer \p{Property} to [[:class:]].

Find All '\b\p{Upper}+\b', 'E-i'


Kino

ATOM RSS1 RSS2