/^$string/; #### $string = "\$foo"; /^$string/;