Support regular expressions, e.g. for using in the 'replace' filter.

Syntax: `r/BODY/FLAGS`.

Example: `{{ 'ABa' | replace(r/a/gi, 'z') }}` will render `zBz`
Any reason not to use `old instanceof RegExp`?