Properly handle backslashes in regexes