I started to like using backticks for regexes. That way you only need single backslashes.