/src/main/java/org/htmlunit/html/HtmlInput.java
final String minLength = getMinLengthAttribute( ) ;final String pattern = getPattern( ) ;
final String pattern = getPattern ( ) ;
return getValue().length() >= getMinLength(); } private boolean isPatternValid() { if (!isPatternSupported()) { return true; } <extra_id_0> if (StringUtils.isEmpty(pattern)) { return true; } final String value = getValue(); if (StringUtils.isEmpty(value)) { return true;