Returns htmlPattern if exists or pattern is convertible.
string|null
public function getHtmlPattern() {
// If htmlPattern is specified, use it
if (null !== $this->htmlPattern) {
return empty($this->htmlPattern) ? null : $this->htmlPattern;
}
return $this
->getNonDelimitedPattern();
}