Skip to content

Commit

Permalink
Make pingPatterns case insensitive
Browse files Browse the repository at this point in the history
  • Loading branch information
danthedaniel committed Jan 11, 2025
1 parent 51473f5 commit 1ad083e
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -133,7 +133,7 @@ private static Pattern pingPattern(String pingKeyword) {
// Check for a word boundary after the ping keyword.
patternBuilder.append("\\b");

return Pattern.compile(patternBuilder.toString());
return Pattern.compile(patternBuilder.toString(), Pattern.CASE_INSENSITIVE);
}

/**
Expand Down

0 comments on commit 1ad083e

Please sign in to comment.