Re: Odd behavior with per cent signs (forked from Re: Feature request: plain option for gsub)
[
Date Prev][
Date Next][
Thread Prev][
Thread Next]
[
Date Index]
[
Thread Index]
- Subject: Re: Odd behavior with per cent signs (forked from Re: Feature request: plain option for gsub)
- From: Sean Conner <sean@...>
- Date: 2014年8月22日 05:26:03 -0400
It was thus said that the Great Dirk Laurie once stated:
> 2014年08月22日 4:54 GMT+02:00 Sean Conner <sean@conman.org>:
> > It was thus said that the Great Thiago L. once stated:
> >> I think you didn't escape `that`
> > You know ... I forgot about that feature of LPeg. Sigh.
>
> Are you referring to "The sequence %% stands for a single %. "?
I forgot that when you do:
pattern / "string"
that "string" could contain backreferences in the form of "%1, %2". It's
not a feature I use that often in LPeg.
-spc