Beefy Boxes and Bandwidth Generously Provided by pair Networks
Problems? Is your data what you think it is?
 
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?
[harishnv]: Can someone give me a solution fast
[shmem]: harishnv: no way if you don't provide code and samples, as stated

How do I use this? | Other CB clients
Other Users?
Others chilling in the Monastery: (7)
As of 2018-02-20 08:23 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?
    When it is dark outside I am happiest to see ...














    Results (268 votes). Check out past polls.

    Notices?