[gtksourceview: 1/2] vala.lang: Fixed regex detection




commit de0c1b01f72a7d65c0bf84ea20b2cbaba2e752b5
Author: JCWasmx86 <JCWasmx86 t-online de>
Date:   Sat Mar 26 15:25:48 2022 +0100

    vala.lang: Fixed regex detection

 data/language-specs/vala.lang | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
---
diff --git a/data/language-specs/vala.lang b/data/language-specs/vala.lang
index a9ade070..56cc2ea2 100644
--- a/data/language-specs/vala.lang
+++ b/data/language-specs/vala.lang
@@ -70,7 +70,7 @@
     <context id="regex-simple" style-ref="regex">
       <start extended="true">
         ((?&lt;=([(]|\s))|^)
-        \/
+        ?\/
         (?=
           ([^/\\]*(\\.))*
           [^/]*


[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]