View Single Post
Old 11-18-2015, 05:28 AM   #133
gipsy
Connoisseur
gipsy began at the beginning.
 
Posts: 81
Karma: 10
Join Date: Nov 2013
Device: Kobo Aura HD
If i change the
Code:
#Fixes ώ in words that are misspelled
CorrectText("ώ fixes",r"(\w+)(ιίι|\(ό|ο\)|ίό|ο&gt;|ο'ι|ιό|οί|ιο|οι|&lt;ο|οϊ)(\w+)(?![^<>]*>)(?!.*<body[^>]*>)", IsFixO)
Code:
#Fixes ώ in words that are misspelled
CorrectText("ώ fixes",r"(\w+|\ )(ιίι|\(ό|ο\)|ίό|ο&gt;|ο'ι|ιό|οί|ιο|οι|&lt;ο|οϊ)(\w+)(?![^<>]*>)(?!.*<body[^>]*>)", IsFixO)
The plugin find and the misspelled character at the start of the word. I tried to and the \(space) and in the second (\w+) but it doesn't find the mispelled character at the end of the word.
For example it works for ιίιστε (the correct word is ώστε) and not for αντιπαρατεθιίι (the correct word is αντιπαρατεθώ)
Any suggestion??

Thanks

Last edited by gipsy; 11-18-2015 at 08:28 AM.
gipsy is offline   Reply With Quote