On Thu, 27 Aug 2009 11:15:59 -0700 (PDT), Bakes <ba...@ymail.com> wrote:
> If I were using the code:
>
> (?P<data>[0-9]+)
>
> to get an integer between 0 and 9, how would I allow it to register
> negative integers as well?

(?P<data>-?[0-9]+)

-- 
To email me, substitute nowhere->spamcop, invalid->net.
-- 
http://mail.python.org/mailman/listinfo/python-list

Reply via email to