Beefy Boxes and Bandwidth Generously Provided by pair Networks
Come for the quick hacks, stay for the epiphanies.
 
PerlMonks  

Re: How do you use a variable value within a regular expression pattern properly?

by 1nickt (Canon)
on Sep 11, 2017 at 11:30 UTC ( [id://1199080]=note: print w/replies, xml ) Need Help??


in reply to How do you use a variable value within a regular expression pattern properly?

Use braces, like: "${myvar}REC".


The way forward always starts with a minimal test.
  • Comment on Re: How do you use a variable value within a regular expression pattern properly?
  • Download Code

Replies are listed 'Best First'.
Re^2: How do you use a variable value within a regular expression pattern properly?
by Anonymous Monk on Sep 11, 2017 at 11:38 UTC
    Thank you very much!

Log In?
Username:
Password:

What's my password?
Create A New User
Domain Nodelet?
Node Status?
node history
Node Type: note [id://1199080]
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-18 10:25 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    No recent polls found