Boy do REs ever suck sometimes...

Ignacio Vazquez-Abrams ignacio at
Fri Oct 5 08:45:58 CEST 2001

Here's the problem I'm having with REs. When I use an RE like '^[0-9]+$' it
matches both '123' and '123\n'. How can I get it to not match the string with
the newline?

Ignacio Vazquez-Abrams  <ignacio at>

More information about the Python-list mailing list