-
Notifications
You must be signed in to change notification settings - Fork 11
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Match reporting error #247
Labels
area: result
Improvements in query result reporting
good first issue
Good for newcomers
help wanted
External contributions welcome
type: bug
Something isn't working
Milestone
Comments
Tagging @V0ldek for notifications |
Yup, full repro. The bug is in the Will prioritize for next version. |
V0ldek
added a commit
that referenced
this issue
Sep 17, 2023
-Fixed a bug where `MatchSpan` values given by the engine were almost always invalid. Ref: #247
V0ldek
added a commit
that referenced
this issue
Sep 17, 2023
-Fixed a bug where `MatchSpan` values given by the engine were almost always invalid. Ref: #247
3 tasks
V0ldek
added a commit
that referenced
this issue
Sep 18, 2023
V0ldek
added a commit
that referenced
this issue
Sep 18, 2023
-Fixed a bug where `MatchSpan` values given by the engine were almost always invalid. Ref: #247
Fixed in v0.8.1 |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Labels
area: result
Improvements in query result reporting
good first issue
Good for newcomers
help wanted
External contributions welcome
type: bug
Something isn't working
Package
Library
Describe the bug
When using RsonpathEngin.matches the end offset is pointing toward the next structural character.
Minimal Reproducible Example
With the JSON
.a.b
get the matches 12-16 which gives the slice:'"c"}'
.c[5]
get the matches 39-41 which gives the slice:5,
Expected behavior
With the JSON
.a.b
get the matches 12-15 which gives the slice:"c"
.c[5]
get the matches 39-41 which gives the slice:5
Workarounds (optional)
No response
Proposed solution (optional)
No response
Version of the release
v0.7.0
Rust version
nightly
Target triple
x86_64
Features enabled
default
Codegen options
No response
Additional context (optional)
No response
The text was updated successfully, but these errors were encountered: