On May 22, 2013, at 8:46 PM, Peter Cawley <lua@corsix.org> wrote: > I'd have thought that you could at least simplify to the following: > > print( ( 'aaaa aaa aa a aaaaa' ):gsub( '([aeiou])[aeiou]', '%1' )) Ah, yes, of course. Thanks :)