in reply to Re^4: Slurping search-replace patterns from a file
in thread RESOLVED: Slurping search-replace patterns from a file

Note that if you have malicious users, and they can run the program on behalf of someone else, you still have a problem even you eliminate all the evals. It's not too hard to write a pattern that takes a couple of million CPU years to conclude it's not going to match. Users may not be able to run arbitrary code - they still will be able to consume CPU cycles.
  • Comment on Re^5: Slurping search-replace patterns from a file