update regex extensions for more complex regexes