diff --git a/src/main/java/org/apache/commons/validator/routines/RegexValidator.java b/src/main/java/org/apache/commons/validator/routines/RegexValidator.java index 414a319f2..9e05a5427 100644 --- a/src/main/java/org/apache/commons/validator/routines/RegexValidator.java +++ b/src/main/java/org/apache/commons/validator/routines/RegexValidator.java @@ -131,7 +131,7 @@ public RegexValidator(final String... regexs) { * Constructs a new instance for a single regular expression with the specified case sensitivity. * * @param regex The regular expression this validator will validate against - * @param caseSensitive when {@code true} matching is case sensitive, otherwise matching is case in-sensitive + * @param caseSensitive when {@code true} matching is case sensitive, otherwise matching is case in-sensitive */ public RegexValidator(final String regex, final boolean caseSensitive) { this(toCompileFlags(caseSensitive), regex); @@ -141,7 +141,7 @@ public RegexValidator(final String regex, final boolean caseSensitive) { * Constructs a new instance that matches any one of the set of regular expressions with the specified case sensitivity. * * @param regexs The set of regular expressions this validator will validate against - * @param caseSensitive when {@code true} matching is case sensitive, otherwise matching is case in-sensitive + * @param caseSensitive when {@code true} matching is case sensitive, otherwise matching is case in-sensitive */ public RegexValidator(final String[] regexs, final boolean caseSensitive) { this(toCompileFlags(caseSensitive), regexs);