[Date Prev][Date Next][Thread Prev][Thread Next]
- Subject: string.gmatch starting position
- From: Daurnimator <quae@...>
- Date: Thu, 30 Aug 2018 13:17:35 +1000
A feature request that would make some code simpler and faster:
It would be great if string.gmatch took a position argument that was used as the starting offset.
This would line up with string.match and string.find.
Looking at the implementation in lstrlib.c it should be very simple to add.