convenience utils for regexes