plug into the :ratchet emitter

@ (non-)interpolation (test)
aliased, named captures
nested captures
quantified captures
ranges

die() on captures that would have wrong numbering

BUGS: - nested captures are not detected - set operations on character classes are not detected