in reply to Re^3: reinterpolation of regexp (and strings?)
in thread reinterpolation of regexp (and strings?)
I don't see use re 'eval'; in String::Interpolate, for starters.
You're right of course. I meant Regexp::NamedCaptures. My mistake.
And there's nothing wrong in use re 'eval'; per say. It's ….
If you construct the regexps yourself based on some logic fine, if some user supplies the code (as stated) it can be risky.
|
|---|