On 22 February 2012 04:45, Dmitry Olshansky wrote:
> On 21.02.2012 7:34, James Miller wrote:
>>
>> On 20 February 2012 21:34, Dmitry Olshansky wrote:
>>>
>>> 08.02.2012 13:07, James Miller пишет:
>>>
Hi,
I am using std.regex and using the named matches. I would like to be
On 21.02.2012 7:34, James Miller wrote:
On 20 February 2012 21:34, Dmitry Olshansky wrote:
08.02.2012 13:07, James Miller пишет:
Hi,
I am using std.regex and using the named matches. I would like to be
able to get at the names that have matched, since this is library
code.
e.g.
auto m
On 20 February 2012 21:34, Dmitry Olshansky wrote:
> 08.02.2012 13:07, James Miller пишет:
>>
>> Hi,
>>
>> I am using std.regex and using the named matches. I would like to be
>> able to get at the names that have matched, since this is library
>> code.
>>
>> e.g.
>>
>> auto m = match("test/2"
08.02.2012 13:07, James Miller пишет:
Hi,
I am using std.regex and using the named matches. I would like to be
able to get at the names that have matched, since this is library
code.
e.g.
auto m = match("test/2", regex(r"(?P\w+)/(?P\d)"));
//either
auto names = m.names;
//o
Hi,
I am using std.regex and using the named matches. I would like to be
able to get at the names that have matched, since this is library
code.
e.g.
auto m = match("test/2", regex(r"(?P\w+)/(?P\d)"));
//either
auto names = m.names;
//or
auto names = m.captures.names;
or som