Re: how to translate lua pattern "(.*)and(.*)" with lpeg re ?
[
Date Prev][
Date Next][
Thread Prev][
Thread Next]
[
Date Index]
[
Thread Index]
- Subject: Re: how to translate lua pattern "(.*)and(.*)" with lpeg re ?
- From: Nick Gammon <nick@...>
- Date: 2018年1月21日 16:56:54 +1100
On 21/01/18 16:42, albertmcchan wrote:
pat = C({1 * V(1) + 'and'}) / drop3 * C(P(1)^0)
That's not using re, though, which is what the subject line is about.