I’m using LPeg’s re.lua module (just can’t seem to get my head around LPeg’s approach), and I was wondering if there’s a “lazy” match (I think that’s what it’s called) symbol. Using normal Lua patterns, you have the “-” symbol, but it seems in re.lua you just get + and *. Does anyone know of anything that could achieve this?
Is lazy matching even possible in LPeg?
- C