From 7a021d1ad8e6f43de162a4d8e6eccd5159045a6f Mon Sep 17 00:00:00 2001 From: jgmdev Date: Thu, 15 Dec 2022 12:06:04 -0400 Subject: language_php: switch to non capturing group match --- plugins/language_php.lua | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'plugins/language_php.lua') diff --git a/plugins/language_php.lua b/plugins/language_php.lua index bea6b85..e0dc078 100644 --- a/plugins/language_php.lua +++ b/plugins/language_php.lua @@ -340,7 +340,7 @@ syntax.add { { regex = { "<\\?php\\s+", - "(\\?>|(?=`{3}))" -- end if inside markdown code tags + "(?:\\?>|(?=`{3}))" -- end if inside markdown code tags }, syntax = ".phps", type = "keyword2" -- cgit v1.2.3