Newbie question on Re module
jorgencederberg at hotmail.com
Sat Jan 4 11:24:19 CET 2003
Josh <mlsj at earthlink.net> wrote in message news:<Xns92F5826AE2F65jslmAAearthlinknet at 188.8.131.52>...
> I am trying to strip out all binaries groups from a list of newsgroups.
> Basically I wanted to write a regular expression that would match all non
> binaries groups. But this does not seem to work:
> rgx=re.compile('[^(binaries)]'). My question is why not? How else would I
> write the regex? I am a newbie at Regexes so please be kind:)
not exactly an answer, but another link
(http://db.cs.helsinki.fi/~hendry/python/). It is a playground area,
where you can enter some input and a regular expression, and then see
the results. Somewhat faster than using the interactive shell.
More information about the Python-list