>> Bináris <[email protected]> wrote:
> Hi! Please help me.

You might want to use two separate regexes, one
checking for a hyphen after the number and leaving 
the suffix intact, and the other one to check for
lack of hyphen [^-] for example, but you might want to check
for unicode ones as well - and subsitute a dot.

It is important to check that those two regexes
are do not match the same strings. 

//Saper



_______________________________________________
Pywikipedia-l mailing list
[email protected]
https://lists.wikimedia.org/mailman/listinfo/pywikipedia-l

Reply via email to