[Pyrex] strange behavior of re module
Yuan Mang
mangyuan at gmail.com
Tue May 2 23:05:29 CEST 2006
using the r'...' helps. Thanks a lot.
On 5/2/06, Jani Hakala <jahakala at cc.jyu.fi> wrote:
>
> "Yuan Mang" <mangyuan at gmail.com> writes:
>
> > sorry I actually used
> > t=re.search('(\d+)','-2.80 98\n').groups()
> >
> > and this works in python. but still not in pyrex.
> >
> Perhaps r'(\d+)' works or \\d instead of \d.
>
> Jani Hakala
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.copyleft.no/pipermail/pyrex/attachments/20060502/76de27b8/attachment.html
More information about the Pyrex
mailing list