lua-users home
lua-l archive

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


> is it correct to think of the LPeg way of matching like using regexp
> always with /^......$/ (where ...... is the regexp itsself)? 

Only the '^'. A pattern in LPeg matches a prefix of the subject; it
does not need to get the whole subject.

-- Roberto