[Validator] Fixed Regex::getHtmlPattern() to work with complex and negated patterns