John Williams writes:
> Is all the "Extensible metasyntax (<...>)" being changed to Â... ?
> 
> Or is the new rule that <...> is capturing metasyntax, and Â... is
> non-capturing metasyntax?

That's the one.

> You can't really capture anything on an assertion, so
>     /^foo .* <( do { say "Got here!" } or 1 )> .* bar$/
> is probably not an issue at all.
> 
> How are the results different between these?
> 
>     /<ident>/

Puts <ident>'s match object in $<ident> (of the current match object).

>     /(<ident>)/

Puts <ident>'s match object in $<ident> and its text in $1.

>     /(ÂidentÂ)/

Puts the text captured by Âident into $1.

Luke

Reply via email to