[erlang-questions] Extracting capture group names from regular expressions

BJörn Lindqvist bjourne@REDACTED
Thu Oct 30 15:14:42 CET 2008


2008/10/29 Kenneth Lundin <kenneth.lundin@REDACTED>:
> Hi,
>
>> Yes please! There is no support for anonymous groups either which is
>> an even bigger omission.
>
> There is certainly support for anonymous groups in the 're' module
> which we are talking about here.
> In the old regexp module there is no support for groups.

Sure, but this is what the module doc says:

"This is an experimental module and the interface is subject to
change. The purpose is to be a reference implementation of what's
described in the EEP "Built in regular expressions in Erlang",
available at www.erlang.org for review. No production code should be
based on this module until the draft is accepted and the module
corrected accordingly."

I.e. fire and brimstone on anyone trying to use it.


-- 
mvh Björn



More information about the erlang-questions mailing list