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

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

by misterMatt (Novice)
on Aug 02, 2009 at 21:00 UTC ( #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
Node Status?
node history
Node Type: note [id://785280]
help
Chatterbox?
and the web crawler heard nothing...

How do I use this? | Other CB clients
Other Users?
Others having an uproarious good time at the Monastery: (8)
As of 2015-07-30 09:24 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    The top three priorities of my open tasks are (in descending order of likelihood to be worked on) ...









    Results (270 votes), past polls