lua-users home
lua-l archive

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


Peter Cawley wrote:
With the pattern '(/.-/)$', you're asking Lua to match a forward
slash, then match as few characters as possible such that what then
follows is a forward slash followed by the end of the string. After
the first forward slash in the pattern is matched against the first
forward slash in the input, the minimum amount which can be captured
to get a forward slash followed by the end of the input is the entire
of the input.

Thank you for the answers.  I will forward the information.

Josh