in reply to Re: Losing control of large regular expressions
in thread Losing control of large regular expressions
The second option sounds interesting, but it would definately take some work to determine an algorithm for placing the time checks within unknown regexes. The rlimits approach is a totally new one to me and based on a little searching seems a complex approach... but another thing to try before giving up.
Rest assured I am aware of the risks of running user defined regexes and am testing for ?{}. It's also not being used in a 'hostile' environment.
Thanks
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re^3: Losing control of large regular expressions
by Limbic~Region (Chancellor) on Jan 12, 2005 at 00:45 UTC |