Help with regex and optional substring in search string

Zero Piraeus schesis at
Wed Oct 14 17:36:28 CEST 2009


2009/10/14 Timur Tabi <timur.tabi at>:
> Never mind ... I figured it out.  The middle block should have been [\w
> \s/]*

This is fragile - you'll have to keep adding extra characters to match
if the input turns out to contain them.


More information about the Python-list mailing list