Better escaping of the regex expression