I'm not sure I understand the implications your point could have on Perl 6. Do you suggest that it might make sense to do the non-capturing groupings with parenthesis, and the capturing ones with brackets, instead of the other way around?
Honestly I think it would make some sense, but it would nevertheless be confusing, for we all remember that () does capture, just because we know that's what they also do in Perl 5.
|Comment on Re: Capturing parenthesis and grouping square brackets|
|Re^2: Capturing parenthesis and grouping square brackets|
by Eily (Deacon) on Jun 18, 2013 at 11:09 UTC