Add tag pattern  to YAML regex expressions

A start on fixing https://github.com/symfony/symfony/issues/9040

Need to add some appropriate unit tests and verify the behavior.  Existing YAML unit tests pass for me.