Thread: Regex examples
View Single Post
Old 02-18-2018, 11:54 AM   #549
Turtle91
A Hairy Wizard
Turtle91 ought to be getting tired of karma fortunes by now.Turtle91 ought to be getting tired of karma fortunes by now.Turtle91 ought to be getting tired of karma fortunes by now.Turtle91 ought to be getting tired of karma fortunes by now.Turtle91 ought to be getting tired of karma fortunes by now.Turtle91 ought to be getting tired of karma fortunes by now.Turtle91 ought to be getting tired of karma fortunes by now.Turtle91 ought to be getting tired of karma fortunes by now.Turtle91 ought to be getting tired of karma fortunes by now.Turtle91 ought to be getting tired of karma fortunes by now.Turtle91 ought to be getting tired of karma fortunes by now.
 
Turtle91's Avatar
 
Posts: 3,379
Karma: 20212733
Join Date: Dec 2012
Location: Charleston, SC today
Device: iPhone 15/11/X/6/iPad 1,2,Air & Air Pro/Surface Pro/Kindle PW & Fire
I'm pretty sure that is checking for Greek 'letters' not words. As long as you are using the Greek alphabet and not a romanization/translation it should work fine.

Code:
\p{ name }	Matches any single character in the Unicode general category or named block specified by name.	

ex:
\p{Lu}              "C", "L" in "City Lights"
\p{IsCyrillic}	"Д", "Ж" in "ДЖem"
\p{IsGreekandCoptic}
That is a .NET regex reference...and I can't for the life of me remember which regex flavor Sigil uses...

edit:
Here is a link to a unicode regex reference list for anyone else looking.

Last edited by Turtle91; 02-18-2018 at 12:04 PM.
Turtle91 is offline   Reply With Quote