[TextEditor] Treat escape sequences as regular expressions.

Now, more than one escape sequence can be specified per span definition.

This solves a special syntax highlighting problem in my D addin.