Generate RegExp for delimiters. Useful for customizing Underscore or Lo-Dash templates template delimiters, YAML front matter, and so on.