Skip to content

Commit

Permalink
Update README.md
Browse files Browse the repository at this point in the history
  • Loading branch information
fslev authored Jul 6, 2023
1 parent 9e85084 commit 8ed0b05
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -149,7 +149,7 @@ String actual = "{\"foobar\": \"some value\"}";
JSONCompare.assertMatches(expected, actual); // assertion passes
```

[JSONCompare](https://github.com/fslev/json-compare) is by default case-sensitive and matches JSON fields and values using regular expressions.
[JSONCompare](https://github.com/fslev/json-compare) is by default case-sensitive and supports regular expressions on JSON fields and values.
If you have unintentional regex characters inside either expected values or expected fields, then you can quote them:

```javascript
Expand Down

0 comments on commit 8ed0b05

Please sign in to comment.