Use # so / doesn't have to be escaped
Use a region for regex character classes

This should fix #101 and also fixes heregexes breaking with [///]