Enumerating Regular Expressions

blair.bethwaite at gmail.com blair.bethwaite at gmail.com
Tue May 9 06:24:04 CEST 2006


James Stroud wrote:
> You mean like re.compile(r'.*') ?

No.  I mean like:
>>> regex = re.compile(r'a|b')
>>> regex.enumerate()
a
b
>>>




More information about the Python-list mailing list