Why no RE match of A AND B?

Jeff Epler jepler at unpythonic.net
Sun Mar 2 16:49:16 EST 2003


Do you have some use cases?

Am I correct in thinking that 
    A&B
is equivalent in meaning to
    (AB)|(BA)
except for the lack of grouping characters and repetition of the
subpatterns?

Jeff





More information about the Python-list mailing list