aboutsummaryrefslogtreecommitdiff
path: root/lpcap.c (follow)
Commit message (Collapse)AuthorAgeFilesLines
* Improved documentation for accumulator capturesRoberto Ierusalimschy2023-06-221-1/+1
|
* Some fixes in vibibility check for back capturesRoberto Ierusalimschy2023-06-191-8/+16
|
* Full captures can contain nested capturesRoberto Ierusalimschy2023-06-151-81/+108
| | | | | | Nested captures can be recognized because they start (and end) inside the character range of the full capture. This optimization can remove a lot of 'close' captures from the capture logs.
* Captures point to string positions using indicesRoberto Ierusalimschy2023-06-071-11/+15
| | | | | That uses 4 bytes (uint) instead of 8 (char*); the size of the structure 'Capture' reduces from 16 to 8 bytes in 64-bit machines.
* First implementation for the accumulator captureRoberto Ierusalimschy2023-06-061-1/+23
|
* DocumentationRoberto Ierusalimschy2023-04-101-4/+0
| | | | | Removed '$Id' from all files + updated copyright year + other changes in comments and documentation
* Fixed bug when resizing capture listRoberto Ierusalimschy2019-02-271-5/+5
| | | | | | | | | | Fixed the bug reported in http://lua-users.org/lists/lua-l/2018-11/msg00080.html The field 's' of the open group of captures inside a run-time capture was being reused by the open group of the results of the run-time capture, even though that open-group entry was being removed from the list and then added again.
* Avoid stack overflow when handling nested capturesRoberto Ierusalimschy2019-02-201-17/+35
| | | | | | The C code uses recursion to handle nested captures, so a too deep nesting could create a stack overflow. The fix limits the handling of nested captures to 'MAXRECLEVEL' (default is 200 levels).
* Removed extra information from RCS keyword stringsRoberto Ierusalimschy2019-02-201-1/+1
| | | | | Version numbers and dates from RCS keyword strings removed from all source files; keeps only the file name.
* Fist version of LPeg on GITRoberto Ierusalimschy2019-02-201-0/+537
LPeg repository is being moved to git. Past versions won't be moved; they are still available in RCS.