We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 401fece commit 22cd832Copy full SHA for 22cd832
sift-core/src/main/java/com/mirkoddd/sift/core/GroupName.java
@@ -25,7 +25,7 @@
25
* ensuring that any instantiated GroupName perfectly complies with regex syntax rules.
26
*/
27
final class GroupName {
28
- private static final String VALID_NAME_PATTERN = "^[a-zA-Z][a-zA-Z0-9]*$";
+ private static final String VALID_NAME_PATTERN = "^[a-zA-Z][a-zA-Z0-9_]*$";
29
30
private static final Pattern VALIDATOR = Pattern.compile(VALID_NAME_PATTERN);
31
0 commit comments