lua-users home
lua-l archive

[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.