Boy do REs ever suck sometimes...

Ignacio Vazquez-Abrams ignacio at openservices.net
Fri Oct 5 02:45:58 EDT 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 openservices.net>





More information about the Python-list mailing list