If i change the
Code:
#Fixes ώ in words that are misspelled
CorrectText("ώ fixes",r"(\w+)(ιίι|\(ό|ο\)|ίό|ο>|ο'ι|ιό|οί|ιο|οι|<ο|οϊ)(\w+)(?![^<>]*>)(?!.*<body[^>]*>)", IsFixO)
Code:
#Fixes ώ in words that are misspelled
CorrectText("ώ fixes",r"(\w+|\ )(ιίι|\(ό|ο\)|ίό|ο>|ο'ι|ιό|οί|ιο|οι|<ο|οϊ)(\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