>>>>> "Jeff" == Jeff Pinyan <jeffp@crusoe.net> writes: >> Or even simpler: >> >> $b = '\A$b\z'; >> >> The regex is /$b/. It matches only '$b'. :) Jeff> That fails. It has to match '\A$b\z'. No, the regex is "dollar b". it matches "dollar b" and only "dollar b". It just happens to need a Perl variable called "$b" set to a particular value. :) -- Randal L. Schwartz - Stonehenge Consulting Services, Inc. - +1 503 777 0095 <merlyn@stonehenge.com> <URL:http://www.stonehenge.com/merlyn/> Perl/Unix/security consulting, Technical writing, Comedy, etc. etc. See PerlTraining.Stonehenge.com for onsite and open-enrollment Perl training! ==== Want to unsubscribe from Fun With Perl? Well, if you insist... ==== Send email to <fwp-request@technofile.org> with message _body_ ==== unsubscribe