lua-users home
lua-l archive

Re: Safe user-facing pattern matching.

[Date Prev][Date Next][Thread Prev][Thread Next] [Date Index] [Thread Index]


On Mar 30, 2017 1:06 AM, "Jorge" <xxopxe@gmail.com> wrote:
As we all know, patterns can be crafted to hog the CPU. Suppose you want to offer the possibility to run user provided patterns on a biggish text, let's say trough webpage. What would be the simplest alternative, keeping as much expressive power as possible, while being safe, to standard Lua patterns?

Jorge


Probably ulimit.


AltStyle によって変換されたページ (->オリジナル) /