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
Searching for foreign characters
- martin
- Official Nisus Person
- Posts: 5228
- Joined: 2002-07-11 17:14:10
- Location: San Diego, CA
- Contact:
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).
[\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).
Searching for foreign characters
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?