lua-users home
lua-l archive

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


On Wed, Aug 12, 2015 at 4:00 PM, Michael Welsh Duggan <mwd@cert.org> wrote:
Dirk Laurie <dirk.laurie@gmail.com> writes:

> Give an example of a source/pattern combination such that
> source:match(pat) matches but source:gmatch(pat) fails to
> find a match.

string: "a"
pattern: "^a"

Crikey, that's a strung.lua bug!

​Good catch, Dirk!​

—Pierre-Yves