Fixed escaped slashes in regex script