On Tue, Dec 14, 2010 at 12:31 PM, Dirk Laurie <dpl@sun.ac.za> wrote: >> s='abbcd'; return a:match('b*') 'b*' means "any number of b's", where 'any' could be zero. it matches the zero-b occurrence at the start of the string. try 'b+' -- Javier