Opened 11 years ago
Closed 11 years ago
#1066 closed defect (fixed)
irregex chunked matching breaks when using positive lookbehind with submatches
Reported by: | sjamaan | Owned by: | |
---|---|---|---|
Priority: | minor | Milestone: | 4.9.0 |
Component: | unknown | Version: | 4.8.x |
Keywords: | irregex | Cc: | |
Estimated difficulty: |
Description
When using a custom, non-trivial chunker (ie, not the shipped string chunker), submatches in (positive) lookbehind patterns will be returned as string-chunker type chunks. This breaks the expectation of returning a chunk in our own custom type like we get with any other submatch.
This has been reported to Alex, and is included in the upstream test suite as a breaking test. Too complicated to make a simple test script for CHICKEN, but when fixed should be backported.
For now I hope we can get this into 4.9.0, but it may need to be postponed.
Note: See
TracTickets for help on using
tickets.
Making it minor, as not many people will be using the chunking API (and of those few people, using positive lookbehind with submatches).