"Andrei Alexandrescu" <[email protected]> wrote in message 
news:[email protected]...
>
> The consecrated terminology is:
>
> foreach(match; match(s, r))
>    foreach(capture; match)
>      writeln(capture);
>
> "Group" is a group defined without an intent to capture. A "capture" is a 
> group that also binds to the state of the match.
>
> Anyhow... this can be done but things get a tad more confusing for other 
> uses. How about this:
>
> foreach(match; match(s, r))
>    foreach(capture; match.captures)
>      writeln(capture);
>
> ?
>
>
> Andrei


I think you must answer this question more generally, same for all library.
May be both?



Reply via email to