Bug fixes
-
GH-1846: Fix bug with captures groups.
When extracting the data matching capture groups we'd take it from the beginning of the stream, not the beginning of the current view, even though the latter is what we are matching against.
-
Add missing trim after matching a regular expression.
-
GH-1875: Fix potential nullptr dereference when comparing streams.
Because we are operating on unsafe iterators, need to catch when one goes out of bounds.
-
GH-1842: Fix when input redirection becomes visible.
With
&parse-at/from
we were updating the internal state on our current position immediately, meaning they were visible already when evaluating other attributes on the same field afterwards, which is unexpected. -
GH-1844: Fix nested look-ahead parsing.
When parsing nested vectors all using look-ahead, we need to return control back to upper level when an inner look-ahead isn't found.
This may change the error message for "normal" look-ahead parsing (see test baseline), but the new one seems fine and potentially even better.