hiltontj / serde_json_path

Query serde_json Values with JSONPath
https://serdejsonpath.live/
MIT License
50 stars 3 forks source link

[#60] Fix the `match` function to properly match full string #61

Closed hiltontj closed 1 year ago

hiltontj commented 1 year ago

This PR closes #60. Parentheses were added to the formulated regex used by the match function to ensure full input string was being matched. A regression test was added to check for correct behaviour.