Skip to content
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

Fix #511 #512

Merged
merged 2 commits into from
Oct 11, 2022
Merged

Fix #511 #512

merged 2 commits into from
Oct 11, 2022

Conversation

gfs
Copy link
Contributor

@gfs gfs commented Oct 11, 2022

Fixes #511.

AI was not appropriately adjusting the Index of the pattern match by the index of the yaml element like it did for XML and JSON. Adds a new test case to ensure the index matched is correct using sample from the linked bug.

gfs added 2 commits October 11, 2022 15:28
Fixes #511.

AI was not appropriately adjusting the Index of the pattern match by the index of the yaml element like it did for XML and JSON.
Adds a new test case to ensure the index matched is correct using sample from the linked bug.
Check all documents listed in the stream rather than just the first.
@gfs gfs merged commit 3cf2f41 into main Oct 11, 2022
@gfs gfs deleted the gfs/YamlFix branch October 11, 2022 23:20
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Excerpt extracted from yaml rule using yaml path is not correct.
1 participant