Beefy Boxes and Bandwidth Generously Provided by pair Networks
Problems? Is your data what you think it is?
 
PerlMonks  

Re^4: qr// and user provided regex patterns...

by misterMatt (Novice)
on Aug 02, 2009 at 21:00 UTC ( [id://785280]=note: print w/replies, xml ) Need Help??


in reply to Re^3: qr// and user provided regex patterns...
in thread qr// and user provided regex patterns...

so I pretty much will have to split it and evaluate it like this: eval("$text =~ s/$pa/$tx/$md"); It might be difficult splitting a regex that could contain multiple /'s. I'll have to adjust the program so the user enters the pattern, and replacement separately I guess.
  • Comment on Re^4: qr// and user provided regex patterns...

Log In?
Username:
Password:

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

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

    No recent polls found