Reply to topic  [ 3 posts ] 
Searching for foreign characters 
Author Message

Joined: 2003-04-26 05:51:07
Posts: 18
Is there an easy way to search for classes of Unicode characters? I'm typing and proofreading ancient Greek, and have text entered by people who don't know Greek, and so they have used mathematical symbols, characters from Symbol font, and characters from the regular alphabet that look like Greek but aren't. Is it possible to search for all legitimate Greek characters in the way one can search for standard alphabetical characters with a grep search [a-zA-Z]? [?-??-?] doesn't work, naturally. Are all the unicode characters in order so that one could search by some symbol number? Likewise, can one search for mathematical symbols, and characters in the symbol section of Unicode?

Many thanks,

Nick Cahill


2007-03-19 09:39:08
Profile
Official Nisus Person
User avatar

Joined: 2002-07-11 17:14:10
Posts: 4251
Location: San Diego, CA
Post 
You can indeed search for Greek characters. You should be able to do so using the PowerFind Pro expression:

[\u0370-\u03FF\u1F00-\u1FFF]+

This will find "proper" Greek characters. That is, bits of text whose underlying characters are actually Greek Unicode code points, as opposed to non-Greek code points with a special font applied (eg: Symbol).


2007-03-19 17:44:31
Profile WWW

Joined: 2003-04-26 05:51:07
Posts: 18
Thank you, Martin - that is exactly what I wanted, and another example of why I love Nisus. Instantly I can find all those sneaky letters that look like Greek but are actually Latin or math or something... what other word processor can do that?


2007-03-19 18:18:26
Profile
Display posts from previous:  Sort by  
Reply to topic   [ 3 posts ] 

Who is online

Users browsing this forum: No registered users and 5 guests


You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot post attachments in this forum

Search for:
Jump to:  
cron
Powered by phpBB® Forum Software © phpBB Group
Designed by ST Software