regexp help

Mart. mdekauwe at gmail.com
Thu Aug 27 23:51:08 CEST 2009


On Aug 27, 7:15 pm, Bakes <ba... at 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?

-?



More information about the Python-list mailing list