From 8c6bcef987ba0d5ac38f448ec2b43f75a47fb5e1 Mon Sep 17 00:00:00 2001 From: syko9000 Date: Thu, 7 Dec 2023 07:14:16 -0500 Subject: [PATCH] Stopped "keyword" match from taking \n (#255) --- frontend/src/pages/Compose.vue | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/frontend/src/pages/Compose.vue b/frontend/src/pages/Compose.vue index 9cc0a5c..29250a4 100644 --- a/frontend/src/pages/Compose.vue +++ b/frontend/src/pages/Compose.vue @@ -622,7 +622,7 @@ export default { greedy: true }, "keyword": { - pattern: /^[^ :=]*(?=[:=])/m, + pattern: /^\w*(?=[:=])/m, greedy: true }, "value": {