View Single Post
Old 11-18-2015, 02:46 PM   #136
gipsy
Connoisseur
gipsy began at the beginning.
 
Posts: 81
Karma: 10
Join Date: Nov 2013
Device: Kobo Aura HD
@CalibUser
I think i found it. I change the (\w+) to (\w*|\s) and it seems it works
Code:
#Fixes ώ in words that are misspelled
CorrectText("ώ fixes",r"(\w*|\s)(ο\'\)|ιίι|\(ό|ο\)|ίό|ο&gt;|ο'ι|ιό|οί|ιο|οι|&lt;ο|οϊ)(\w*|\s)(?![^<>]*>)(?!.*<body[^>]*>)", IsFixO)
I'm gonna test it more and i reply here
gipsy is offline   Reply With Quote