[gtksourceview: 1/3] c.lang: make exponent digits required




commit cf46c69d376f8b4d65c66976952521ced4658884
Author: Elias Aebi <353-eyelash users noreply gitlab gnome org>
Date:   Sun Dec 5 15:28:01 2021 +0100

    c.lang: make exponent digits required

 data/language-specs/c.lang | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)
---
diff --git a/data/language-specs/c.lang b/data/language-specs/c.lang
index 9b6e2d77..b126bf47 100644
--- a/data/language-specs/c.lang
+++ b/data/language-specs/c.lang
@@ -143,8 +143,8 @@
     <context id="float" style-ref="floating-point">
       <match extended="true">
         (?&lt;![\w\.])
-        ((\.[0-9]+ | [0-9]+\.[0-9]*) ([Ee][+-]?[0-9]*)? |
-         ([0-9]+[Ee][+-]?[0-9]*))
+        ((\.[0-9]+ | [0-9]+\.[0-9]*) ([Ee][+-]?[0-9]+)? |
+         ([0-9]+[Ee][+-]?[0-9]+))
         [fFlL]?
         (?![\w\.])
       </match>


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