This website works better with JavaScript.
Home
Explore
Help
Sign In
bubblev
/
cobbzilla-utils
Watch
6
Star
0
Fork
0
Code
Issues
0
Pull Requests
0
Releases
1
Wiki
Activity
Browse Source
add validateRegexMatches utility method
tags/2.0.1
Jonathan Cobb
5 years ago
parent
7e349b5220
commit
31dde8a290
1 changed files
with
2 additions
and
0 deletions
Unified View
Diff Options
Show Stats
Download Patch File
Download Diff File
+2
-0
src/main/java/org/cobbzilla/util/string/ValidationRegexes.java
+ 2
- 0
src/main/java/org/cobbzilla/util/string/ValidationRegexes.java
View File
@@ -79,4 +79,6 @@ public class ValidationRegexes {
return found;
return found;
}
}
public static boolean validateRegexMatches(Pattern pattern, String s) { return pattern.matcher(s).matches(); }
}
}
Write
Preview
Loading…
Cancel
Save