String & delimit

Gregor Kopp gk at cutcopy.com
Wed Apr 4 01:10:08 PDT 2007


Frits van Bommel schrieb:
> It's quite easy, in fact it's a one-character patch:
>     if (m) writefln("%s", m.match(1));
> 
> A parameter > 0 passed to match(int) returns the part that matches the 
> corresponding pair of parentheses, and the correct subexpression was 
> already parenthesized...


Thank you for this info! Maybe this all helps Dié with his problem. Lets 
hope so ;)



More information about the Digitalmars-d mailing list