special-case # as delim in regexes