diff options
author | jgmdev <jgmdev@gmail.com> | 2022-12-15 12:06:04 -0400 |
---|---|---|
committer | jgmdev <jgmdev@gmail.com> | 2022-12-15 12:06:04 -0400 |
commit | 7a021d1ad8e6f43de162a4d8e6eccd5159045a6f (patch) | |
tree | 927050bfcb9c43d6d289433653ae66bcec62a3ba | |
parent | 83c90a7cba27804eb7f5867aa53a410c085fc20d (diff) | |
download | lite-xl-plugins-7a021d1ad8e6f43de162a4d8e6eccd5159045a6f.tar.gz lite-xl-plugins-7a021d1ad8e6f43de162a4d8e6eccd5159045a6f.zip |
language_php: switch to non capturing group match
-rw-r--r-- | plugins/language_php.lua | 2 |
1 files changed, 1 insertions, 1 deletions
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" |