Fix for regexps containing / character