regex get names

2012-02-08 Thread James Miller
I posted something similar learn, but since this is a request, not a question I'm going to reiterate it here. After looking through std.regex, it would be useful if there was a way to get the names of the named matches from the Captures. e.g. R[] names = m.getNames(). With the idea being that

Re: regex get names

2012-02-08 Thread Dmitry Olshansky
On 08.02.2012 13:44, James Miller wrote: I posted something similar learn, but since this is a request, not a question I'm going to reiterate it here. After looking through std.regex, it would be useful if there was a way to get the names of the named matches from the Captures. e.g. R[] names =