lua-users home
lua-l archive

Re: [ANNOUNCE] WordGrinder 0.1

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


David Given wrote:
Not having alternation (|) in the regex syntax does
actually cause some problems --- I have to try each regex
in succession until one matches. I don't know how Lua's
pattern support works internally, I suspect I may be
spending more time compiling regexes than actually doing
work, during imports.
Lua patterns aren't compiled; the pattern string itself is
iterated through. (See the function "match" in lstrlib.c.)
--
Aaron
http://arundelo.com/

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