in reply to checking interpreted string for escapes versus literal backslashes?

You'll want to preface each '\' in YOUR regex with (?<!\\)(?s:\\.)*). Try this code out:
while (<DATA>) { chomp; print "matched '$1' in '$_'\n" if /(?<!\\)(?s:\\.)*(\$\d+)/; } __DATA__ for the $1th time SELECT * FROM Product WHERE Price LIKE '\$2.59' using fore- and back-slashes for emphasis: \\$10/ escaping: \\\$6

Jeff japhy Pinyan, P.L., P.M., P.O.D, X.S.: Perl, regex, and perl hacker
How can we ever be the sold short or the cheated, we who for every service have long ago been overpaid? ~~ Meister Eckhart