[Date Prev][Date Next][Thread Prev][Thread Next]
[Date Index]
[Thread Index]
- Subject: Re: Feature request: plain option for gsub
- From: Dirk Laurie <dirk.laurie@...>
- Date: Thu, 21 Aug 2014 16:59:08 +0200
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.