in reply to Explain regex ?: usage in grouping

It's (?: ... ) that forms a semantic unit, not the ?: itself. The (?: ... ) is documented in perlre as a non-capturing group.

Perl 6 - links to (nearly) everything that is Perl 6.