View Single Post
Old 12-22-2015, 02:59 AM   #152
gipsy
Connoisseur
gipsy began at the beginning.
 
Posts: 81
Karma: 10
Join Date: Nov 2013
Device: Kobo Aura HD
Hi,
can someone help me refine the FixP, FixE, FixW, FixO, FixF for greek letters?
As there are now they made some unnecessary changes. I want the to search and make changes in a whole word (start, middle, end), now sometimes they make changes and if the word is in the dictionary and sometimes and in hyphen words.
I notice the unnecessary changes after i add a (\w*|\s) at the start and end if the
Code:
CorrectText("ώ fixes",r"(\w*|\s)(οί\)|νο'\)|α\)|οδ|οό|ιυ|άί|ο5|ο'\)|ιίι|\(ό|ο\)|ίό|ο&gt;|ο'ι|ιό|οί|ιο|οι|&lt;ο|οϊ)(\w*\s)(?![^<>]*>)(?!.*<body[^>]*>)", IsFixO)
in order to get changes in the start-middle-end of the word.

There is any other solution to get the CorrectText to search in the start-middle-end of the word?

Thanks

Last edited by gipsy; 12-22-2015 at 03:03 AM.
gipsy is offline   Reply With Quote