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