Skip to content

Commit 9234d6d

Browse files
committed
Add Java pattern functions
1 parent c6b7dce commit 9234d6d

File tree

1 file changed

+3
-0
lines changed

1 file changed

+3
-0
lines changed

.github/actions/spelling/candidate.patterns

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -549,6 +549,9 @@ content: (['"])[-a-zA-Z=;:/0-9+]*=\g{-1}
549549
# Regular expressions for (P|p)assword
550550
\([A-Z]\|[a-z]\)[a-z]+
551551

552+
# Java regular expressions
553+
Pattern\.(?:compile|matches)\(".*"
554+
552555
# JavaScript regular expressions
553556
# javascript exec/test regex
554557
/.{3,}?/[gim]*\.(?:exec|test)\(

0 commit comments

Comments
 (0)