Help with regex and optional substring in search string

Zero Piraeus schesis at gmail.com
Wed Oct 14 11:36:28 EDT 2009


:

2009/10/14 Timur Tabi <timur.tabi at gmail.com>:
> 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.

 -[]z.



More information about the Python-list mailing list