lua-users home
lua-l archive

Re: Feature request: plain option for gsub

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


2014年08月21日 16:23 GMT+02:00 Jonas Thiem <jonasthiem@googlemail.com>:
> Hm I see. Still, wouldn't a plain option be more consistent with find
> and easier to use for beginners?
Then what about `match` and `gmatch`? You want a plain option
added to some but not all four pattern-aware string routines?
Would a magic character that says: "ignore me, and treat the
rest of the string as plain" solve your problem? For example,
closing bracket or parenthesis.

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