Fixed passing backslash characters in regular expression parameters