RegEx Shortcuts

Be able to use regular expressions to define shortcuts. Also provide the ability to define capture groups and pass the capture groups to the snippet as form values.

For example:

  • /(.+)/ would match /a/, /xyz/ and /foo/

Potentially named capture groups could be supported or a form variable like captures could be injected as a list into the snippet.