From 993ae295afb42efdb12aa3ec8e8f91b825bee888 Mon Sep 17 00:00:00 2001 From: David Bolack Date: Sun, 7 Jan 2024 15:40:05 -0600 Subject: [PATCH] Update editor pattern match for DLs --- client/homebrew/editor/editor.jsx | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/client/homebrew/editor/editor.jsx b/client/homebrew/editor/editor.jsx index cd74b0af5..ad773c25a 100644 --- a/client/homebrew/editor/editor.jsx +++ b/client/homebrew/editor/editor.jsx @@ -151,7 +151,8 @@ const Editor = createClass({ // definition lists if(line.includes('::')){ - const regex = /^([^\n]*?)::([^\n]*)(?:\n|$)/ym; + // const regex = /^([^\n]*?)::([^\n]*)(?:\n|$)/ym; + const regex = /^([^\n:]*?)::(.*)(?:\n|$)/ym; let match; while ((match = regex.exec(line)) != null){