Classes for matching regular expressions in the text editor.