Skip to content

Commit

Permalink
Resolves improper anchoring of patternProperties
Browse files Browse the repository at this point in the history
Fixes #782
  • Loading branch information
Faron Dutton committed May 22, 2023
1 parent 3cf9bb6 commit 2a6a20e
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@ class JDKRegularExpression implements RegularExpression {

@Override
public boolean matches(String value) {
return this.pattern.matcher(value).matches();
return this.pattern.matcher(value).find();
}

}

0 comments on commit 2a6a20e

Please sign in to comment.