lua-users home
lua-l archive

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


I don't understand this.

--[[
> s='abbcd'; return a:match('b')
b
> s='abbcd'; return a:match('bb')
bb
> s='abbcd'; return a:match('b*')

>
--]]

I expected the last match to be also "bb".

Dirk