Pls, help me with re

Lexy Zhitenev zhitenev at
Mon Mar 3 10:27:04 CET 2003

Hi, All.

I want to match a number if it is the only one in the string, and the second
one, if '=' preceeds it.


'Course: 23,95' - matches '23,95'
'$1 = 23,95 y' - matches '23,95'.

Regards, Lexy

More information about the Python-list mailing list