How make regex that means "contains regex#1 but NOT regex#2" ??

seberino at spawar.navy.mil seberino at spawar.navy.mil
Tue Jul 1 02:28:43 EDT 2008


I'm looking over the docs for the re module and can't find how to
"NOT" an entire regex.

For example.....

How make regex that means "contains regex#1 but NOT regex#2" ?

Chris



More information about the Python-list mailing list