lua-users home
lua-l archive

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


No. But you can have it so `pat / drop` does that.


function drop(x,...) return ... end

2017-06-30 17:14 GMT+02:00 Soni L. <fakedme@gmail.com>:
So uh can I have it so `pat / -1` removes capture 1 from pat, while leaving all others untouched?

--
Disclaimer: these emails may be made public at any given time, with or without reason. If you don't agree with this, DO NOT REPLY.