Fix 235 - custom start/end symbols were global to all environments.
Support regular expressions, e.g. to use in the 'replace' filter.

Conflicts:
	tests/lexer.js
Support regular expression flags (g, i, m, y).