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.
In reply to Re^4: reinterpolation of regexp (and strings?)
by dHarry
in thread reinterpolation of regexp (and strings?)
by AlwaysLearning
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |