Note that this way $1, $2 is not available in the replacement.Yes, I know, that's the hitch... :-(
The author of your code editor probably assumed correctly...Are you suggesting that it is possible for me to put destructive code (if even by mistake) in the box and reap the results?
Or formulated differently, if you try to hurt somebody by putting an "evil" regex into the search box, you'll only hurt yourself.
In reply to Re^2: safe method to execute perl code with user input?
by Allasso
in thread safe method to execute perl code with user input?
by Allasso
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |