Switched to services.yml
Added a Twig filter to add some basic highlighting to the regexps
Advanced validation for regex options