fix escape regexp characters