Pls, help me with re

Lexy Zhitenev zhitenev at cs.vsu.ru
Mon Mar 3 04:27:04 EST 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.

Example

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

Regards, Lexy







More information about the Python-list mailing list