[Date Prev][Date Next][Thread Prev][Thread Next]
[Date Index]
[Thread Index]
- Subject: Re: Patterns: Why are anchors not character classes?
- From: Javier Guerra Giraldez <javier@...>
- Date: Tue, 14 Jul 2015 12:15:04 -0500
On Tue, Jul 14, 2015 at 12:08 PM, Parke <parke.nexus@gmail.com> wrote:
> On Tue, Jul 14, 2015 at 9:39 AM, Paul K <paul@zerobrane.com> wrote:
>
>> ps:gmatch("(%d+)%f[^%d]")
>
> When will the above be different from ps:gmatch("%d+") ?
when a more ethical Lua gets developed, and we get "moderately greedy"
patterns that consume only a fair share of characters. :-)
--
Javier