lua-users home
lua-l archive

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


Philippe Lhoste <PhiLho <at> GMX.net> writes:
> 
> > Not at all... six (6) substitutions done.. thats all.
> > Thats what the dot do in Lua's regular expressions.
> > Try %d for numbers or %a for letters.
> 
> No, 6 matches, but only 3 substitutions, the first three chars make the 
> function return nil, so there is no substitution.
> 
You are right... 6 matches,.. 3 subs... :)