Path: utzoo!utgpu!news-server.csri.toronto.edu!rpi!usc!cs.utexas.edu!asuvax!ncar!gatech!usenet.ins.cwru.edu!ncoast!allbery From: allbery@NCoast.ORG (Brandon S. Allbery KF8NH) Newsgroups: comp.lang.perl Subject: Re: shouldn't backslash really quote? Message-ID: <1991May23.220754.8613@NCoast.ORG> Date: 23 May 91 22:07:54 GMT References: <1991May22.175723.18174@uvaarpa.Virginia.EDU> <1991May22.202128.27037@convex.com> Reply-To: allbery@ncoast.ORG (Brandon S. Allbery KF8NH) Followup-To: comp.lang.perl Organization: North Coast Public Access Un*x (ncoast) Lines: 19 As quoted from <1991May22.202128.27037@convex.com> by tchrist@convex.COM (Tom Christiansen): +--------------- | From the keyboard of eichin@apollo.com: | :if(/x_\\$$pat/) { | : print "found x-twoslash-dollar-pat\n"; | :} | | This time you didn't escape the $, so it's anchoring | at the end of the line. Shouldn't match. +--------------- Uh, wouldn't the $$ expand to the process ID of Perl, since the backslash is escaped? ++Brandon -- Me: Brandon S. Allbery KF8NH: DC to LIGHT! [44.70.4.88] Internet: allbery@NCoast.ORG Delphi: ALLBERY uunet!usenet.ins.cwru.edu!ncoast!allbery