Skip to content

Commit

Permalink
Add warning to redundant character escapes
Browse files Browse the repository at this point in the history
  • Loading branch information
lukas-krecan-lt committed Apr 2, 2020
1 parent ead603f commit a6f9672
Showing 1 changed file with 1 addition and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -62,6 +62,7 @@
*/
public class Diff {

// DO NOT remove redundant character escapes, they are needed for Android https://github.com/lukas-krecan/JsonUnit/pull/227
private static final Pattern ANY_NUMBER_PLACEHOLDER = Pattern.compile("[$#]\\{json-unit.any-number\\}");
private static final Pattern ANY_BOOLEAN_PLACEHOLDER = Pattern.compile("[$#]\\{json-unit.any-boolean\\}");
private static final Pattern ANY_STRING_PLACEHOLDER = Pattern.compile("[$#]\\{json-unit.any-string\\}");
Expand Down

0 comments on commit a6f9672

Please sign in to comment.