Undocumented re bug???

Fredrik Lundh effbot at telia.com
Fri Oct 20 12:57:26 EDT 2000


Benny wrote:
> I'm experiencing a werid re behaviour.  Whenever the digit 7 is present
> in a range specifier, the re fails, although the pattern exists in the
> string.
>
> Here's a real-life example:
>
> Python 1.6b1

cannot be: nobody should use 1.6b1 in real life...

> Anyone seen this before? Has it got anything to do with not working on
> the Sabbath?  :-)

according to SRE in 1.6b1, "7" is not a valid decimal digit.

it was probably Someone's way of telling me not to work on
Sundays ;-)

</F>





More information about the Python-list mailing list