Monday 23 December 2013

Ancient Greek as a Unicode Character Class

In oXygen XML editor, when we want to search for any Greek character (using Perl character classes), we do it with this regular expression:
\p{IsGreek}
Simple, great — and took me half an hour to find. Is this programming or philology?

No comments:

Post a Comment