lua-users home
lua-l archive

[Date Prev][Date Next][Thread Prev][Thread Next] [Date Index] [Thread Index]


On Sun, Jul 8, 2012 at 9:16 AM, steve donovan <steve.j.donovan@gmail.com> wrote:
> On Sun, Jul 8, 2012 at 12:12 AM, Patrick Rapin <toupie300@gmail.com> wrote:
>> I would love if there existed a special pattern, let's say %n, which
>> would match a valid number representation and capture that number.
>
> Now that would be first prize! Excellent suggestion.
>
> steve d.
>

Seconded! That would handle one of the common use cases of coercion
without complicating much of anything.

/s/ Adam