Matt Peterson <> changed:

           What    |Removed                     |Added
                 CC|                            |

--- Comment #2 from Matt Peterson <> 2011-04-06 11:41:18 
PDT ---
After some debugging, it looks like Captures is looking for the first unmatched
group and stopping there when giving the length of the captures, which I
believe is the cause of the assert error.

The second problem is that when a group is unmatched the startIdx and endIdx
are stored as size_t.max, and when Captures.front/opIndex as well as
RegexMatch.hit try to slice the input with those numbers causes a range
violation. Most regex engines handle this by returning null if a group is

I'll try to submit a patch soon if I get it working.

Configure issuemail:
------- You are receiving this mail because: -------

Reply via email to