implemented fallback regex highlighter