[Date Prev][Date Next][Thread Prev][Thread Next]
- Subject: Re: LPEG > 0.10 regression: 'B' (pattern may not have fixed length)
- From: Roberto Ierusalimschy <roberto@...>
- Date: Sun, 17 Apr 2016 11:59:19 -0300
> > local SOS = lpeg.P(function(s, i) return i == 1 end) -- start of string
> This is completely tangential to the topic at hand, but wouldn't this
> work just as well for SOS?
> local SOS = -lpeg.B(1)