Bug in regular expressions ?

John Hunter jdhunter at nitace.bsd.uchicago.edu
Fri May 17 13:35:36 EDT 2002


>>>>> "Christophe" == Christophe Delord <christophe.delord at free.fr> writes:

    Christophe> So A|B and B|A are not always equivalent. When A and B

Not at all.  The or operator in python is a short circuit operator.
If the first evaluates true, the second will not be evaluated.



More information about the Python-list mailing list