diff --git a/tdx-enhanced.js b/tdx-enhanced.js index ca10fe2..d4c39bc 100644 --- a/tdx-enhanced.js +++ b/tdx-enhanced.js @@ -733,6 +733,12 @@ } } + if (type=="report" && customType=="report-regex") { + if ((new RegExp(customHighlight.value).exec(txt))) { + style = customHighlight.style + } + } + if (type=="person" && customType=="person") { if (customHighlight.value==txt) { element = createHighlightBubble(element)