diff --git a/src/webview/js/InboundEventLogger.js b/src/webview/js/InboundEventLogger.js index d87f45ac8f3..96b4052e785 100644 --- a/src/webview/js/InboundEventLogger.js +++ b/src/webview/js/InboundEventLogger.js @@ -34,7 +34,7 @@ type ScrubbedInboundEventItem = {| * it's visible. */ const placeholdersDivTagFromContent = (content: string): string | null => { - const match = new RegExp('
').exec(content); + const match = /
/.exec(content); return match !== null ? match[0] : null; };