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