[Date Prev][Date Next][Thread Prev][Thread Next]
[Date Index]
[Thread Index]
- Subject: Re: Pattern matching proposal: %B to match balanced string with specified escape
- From: Dirk Laurie <dirk.laurie@...>
- Date: Tue, 5 Jan 2016 10:29:31 +0200
2016-01-05 9:50 GMT+02:00 Rena <hyperhacker@gmail.com>:
> I also wonder about using %b with the same character twice, like: %b"" - the
> manual says it expects two different characters, but it'd be nice if we
> could do this.
I don't know why the manual says that. It works perfectly well with
the same character twice.
> string.match('abc"def"ghi"jkl"mno','%b""')
"def"