in reply to Re^4: Passing a regex from a CGI HTML form (user supplied regex substitution without eval)
in thread Passing a regex from a CGI HTML form
print Substitution("canned","working"); #canned print Substitution("canned","compiles",'$1 $2','g'); #canned print Substitution("canned","flawed",'$1 $2'); #canned print Substitution("canned",".*",`ls`); #first directory entry `touch down`; print Substitution("canned",".*",`rm down`); #deleted file
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re^6: Passing a regex from a CGI HTML form (user supplied regex substitution without eval)
by Anonymous Monk on Sep 01, 2016 at 06:51 UTC | |
by trippledubs (Deacon) on Sep 01, 2016 at 12:04 UTC | |
by Anonymous Monk on Sep 01, 2016 at 19:14 UTC |