diff --git a/public/scripts/extensions/regex/index.js b/public/scripts/extensions/regex/index.js index e7c7e2505..78db4957a 100644 --- a/public/scripts/extensions/regex/index.js +++ b/public/scripts/extensions/regex/index.js @@ -335,8 +335,6 @@ function updateInfoBlock(editorHtml) { } const flagInfo = []; - // Check flags - flagInfo.push(regex.flags.includes('g') ? t`Applies to all matches` : t`Applies to the first match`); flagInfo.push(regex.flags.includes('i') ? t`Case insensitive` : t`Case sensitive`); @@ -346,7 +344,6 @@ function updateInfoBlock(editorHtml) { } catch (error) { infoBlock.addClass('error'); infoBlockTextSpan.text(error.message); - return; } }