Mime-Version: |
1.0 (Apple Message framework v1084) |
Sender: |
|
Date: |
Mon, 30 May 2011 20:27:28 +0900 |
Reply-To: |
|
Subject: |
|
From: |
|
Content-Transfer-Encoding: |
quoted-printable |
In-Reply-To: |
|
Content-Type: |
text/plain; charset=iso-8859-1 |
Comments: |
|
Parts/Attachments: |
|
|
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
|
|
|