Re: pattern matching problem
[
Date Prev][
Date Next][
Thread Prev][
Thread Next]
[
Date Index]
[
Thread Index]
- Subject: Re: pattern matching problem
- From: Roberto Ierusalimschy <roberto@...>
- Date: 2013年8月30日 18:34:51 -0300
> Have you tried? Granted, `0*` is greedy, but so is `%d*`, and
> currently Lua resolves this ambiguity by matching from left to right
> (not sure if this is "official" behavior, though).
It is.
-- Roberto