Beefy Boxes and Bandwidth Generously Provided by pair Networks
Think about Loose Coupling
 
PerlMonks  

Re: Using special characters in left part of a regex match?

by LanX (Bishop)
on Feb 05, 2013 at 23:01 UTC ( #1017298=note: print w/replies, xml ) Need Help??

Help for this page

Select Code to Download


  1. or download this
    $var[1] = "Gallia est omnis divisa in .+";
    $var[5] = "Gallia est .+ tres";
    
    $var[1] =~ $var[5] ;# false
    
  2. or download this
    $var[1] = "omnis divisa in ...";
    $var[5] = "... tres";
    

Log In?
Username:
Password:

What's my password?
Create A New User
Node Status?
node history
Node Type: note [id://1017298]
help
Chatterbox?
and all is quiet...

How do I use this? | Other CB clients
Other Users?
Others pondering the Monastery: (5)
As of 2017-09-24 16:18 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?
    During the recent solar eclipse, I:









    Results (274 votes). Check out past polls.

    Notices?