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.