From 78131bec487009fe829489f426aa74a60bd625c8 Mon Sep 17 00:00:00 2001 From: Joseph Choi Date: Tue, 15 Mar 2022 12:26:10 +0800 Subject: [PATCH] Fix highlighting of multi-lined regexp in Groovy Apply https://github.com/textmate/groovy.tmbundle/pull/20 --- extensions/groovy/syntaxes/groovy.tmLanguage.json | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/extensions/groovy/syntaxes/groovy.tmLanguage.json b/extensions/groovy/syntaxes/groovy.tmLanguage.json index 57ebab394059c..aa5af2e6c104e 100644 --- a/extensions/groovy/syntaxes/groovy.tmLanguage.json +++ b/extensions/groovy/syntaxes/groovy.tmLanguage.json @@ -1036,7 +1036,7 @@ "regexp": { "patterns": [ { - "begin": "/(?=[^/]+/([^>]|$))", + "begin": "/(?=[^/]+([^>]|$))", "beginCaptures": { "0": { "name": "punctuation.definition.string.regexp.begin.groovy" @@ -1380,4 +1380,4 @@ ] } } -} \ No newline at end of file +}