lua-users home
lua-l archive

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


On Fri, Apr 13, 2012 at 4:07 PM, Robert Virding
<robert.virding@erlang-solutions.com> wrote:
> But isn't that what %0 is for.

Yes, but %0 is only available for string replacements. %1 is
synthesized to be the entire match for all types of replacements, as
this is convenient for all non-string replacements.