in reply to Safe wrapper for user regex?

Are you unconcerned with the likes of rm -rf.... and dozens of other system and/or utility commands? I need a clearer sesnse of your goal.

If you didn't program your executable by toggling in binary, it wasn't really programming!

Replies are listed 'Best First'.
Re^2: Safe wrapper for user regex?
by Anonymous Monk on Mar 26, 2013 at 16:43 UTC

    Are you unconcerned with the likes of rm -rf....

    That is kind of what Safe prevents

      True. My oversight... so ++ for taking the time to point that out. Thank you. However, my entire answer sort of failed to even hint at what should, perhaps, have been my point, which is (no frills): "It's often better to think about what to allow, and permit only that set, rather than trying to tin-over all the rat holes."

      If you didn't program your executable by toggling in binary, it wasn't really programming!