[Pywikipedia-l] Regex help needed
Marcin Cieslak
saper at saper.info
Mon Jun 27 09:17:05 UTC 2011
>> Bináris <wikiposta at gmail.com> 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
More information about the Pywikipedia-l
mailing list