Code: Select all
\<[A-Z\s’‘-]{2,}\>
Why doesn't it work when Attribute Sensitive is checked along with a style definition?
Thanks a bunch!
Henry.
Code: Select all
\<[A-Z\s’‘-]{2,}\>
Code: Select all
[A-Z\s’‘-]{2,}
Because it is convenient for the test file that I used. And the file has a merit that all NW Pro users have it so that they can countercheck easily.Groucho wrote:By the way, I think your regexp will search single capitalized words (Like These)
and...whereas mine will search all-caps works separated by space, hyphen or quote (LIKE-THESE).
Yeah, there seems to be a bug. You'd better report it to Nisus soft if you want to make your expression work. Whilethere is something wrong with the word boundary regular expressions (\< and \>)
will match also "\n\n", "--", "<tab><tab>", etc., etc.Code: Select all
[A-Z\s’‘-]{2,}
We actually already have "\u" and "\U", which allow Unicode hexadecimal representations, taking 4 and 8 hex digits respectively. Eg: to search for the letter e (U+0065) you could use either "\u0065" or "\U00000065".Groucho wrote:Thank you, Martin,
By the way, any chance of having \l,\L,\U and \u in a next version of PowerFind Pro?
Henry
Code: Select all
Find All 'i', 'a-iw'
To Uppercase