added escapes to regexstrings