Beefy Boxes and Bandwidth Generously Provided by pair Networks
We don't bite newbies here... much
 
PerlMonks  

Re^3: Evaluating user-entered captured groups during Perl substitution

by Marshall (Canon)
on Mar 16, 2020 at 16:13 UTC ( [id://11114351]=note: print w/replies, xml ) Need Help??

Help for this page

Select Code to Download


  1. or download this
    #FROM INCOMING FORM INPUTS
    $query = '(St\.\s)(Mt\.\s)(?=Helens)';  #right way
    ...
    
    $query = "(St\\.\\s)(Mt\\.\\s)(?=Helens)"; #ok, but confusing
    print "$query\n";    ## (St\.\s)(Mt\.\s)(?=Helens)
    

Log In?
Username:
Password:

What's my password?
Create A New User
Domain Nodelet?
Node Status?
node history
Node Type: note [id://11114351]
help
Chatterbox?
and the web crawler heard nothing...

How do I use this?Last hourOther CB clients
Other Users?
Others perusing the Monastery: (7)
As of 2024-04-25 15:04 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    No recent polls found