Thread: Regex examples
View Single Post
Old 03-04-2014, 06:06 AM   #307
Doitsu
Grand Sorcerer
Doitsu ought to be getting tired of karma fortunes by now.Doitsu ought to be getting tired of karma fortunes by now.Doitsu ought to be getting tired of karma fortunes by now.Doitsu ought to be getting tired of karma fortunes by now.Doitsu ought to be getting tired of karma fortunes by now.Doitsu ought to be getting tired of karma fortunes by now.Doitsu ought to be getting tired of karma fortunes by now.Doitsu ought to be getting tired of karma fortunes by now.Doitsu ought to be getting tired of karma fortunes by now.Doitsu ought to be getting tired of karma fortunes by now.Doitsu ought to be getting tired of karma fortunes by now.
 
Doitsu's Avatar
 
Posts: 5,748
Karma: 24032915
Join Date: Dec 2010
Device: Kindle PW2
Quote:
Originally Posted by mzmm View Post
i was trying to match [\u0370-\u03FF] and (?-u)[\u0370-\u03FF] with no success. anyone have tips on this?
AFAIK, Sigil uses a PCRE engine that doesn't support \u; you'll have to use \x{xxxx} instead: [\x{0370}-\x{03FF}]

However, to be on the safe side, you may want to include the precomposed characters from the "Greek Extended" block (U+1F00 to U+1FFF):

[\x{0370}-\x{03FF}\x{1F00}-\x{1FFF}]
Doitsu is offline   Reply With Quote