Pls, help me with re

Lexy Zhitenev zhitenev at cs.vsu.ru
Mon Mar 3 04:57:20 EST 2003


"Erik Max Francis" <max at alcyone.com> wrote in message:
news:3E6324D2.7E76BCB1 at alcyone.com...
> >
> > 'Course: 23,95' - matches '23,95'
> > '$1 = 23,95 y' - matches '23,95'.
>
> Why not a regular expression simply like [including both commas and
> periods]:
>
> =.*([0-9,.]+)
>

This re matches the second example, but it doesn't match the first one.
Sorry






More information about the Python-list mailing list