[GSOC idea] enhance regular expressions?

bearophile bearophileHUGS at lycos.com
Tue Mar 29 03:56:59 PDT 2011


Dmitry Olshansky:

> Others (except (?P<name>) and (?P=name) ) also considered common extensions and I planed to add them plus  regex comment (#...) where all of ... simply have no effect on matching.

Beside the (#...) comments in Python you have also the verbose regex, that allow to put whispace and free #... comments with no parentheses. I find this one of the nicest features, because it allows you to format your regex.

Bye,
bearophile


More information about the Digitalmars-d mailing list