re module - cannot make expression

Laszlo Zsolt Nagy gandalf at geochemsource.com
Mon Jan 31 09:44:38 EST 2005


Hi All!

I would like to match strings not beginning with '/webalizer'. How can I 
do this?
The only one negation command is ^ inside [] but it cannot be used here. 
I looked
over "re" examples on the net but I could not find an example about how 
to match
"not beginning with" type expressions.

Thanks,

   Laci 2.0




More information about the Python-list mailing list