Starting with version 7.7 PCRE also supports a non-Perl Oniguruma construct for subroutines.
TextMate uses the Oniguruma regular expression library developed by K. Kosako.
•
These grammars allow nesting rules to be defined using the Oniguruma regular expression library, and then assigned specific “scopes”: compound labels which identify them for coloration.