From ec0d2eb5f63712f9d2de3c1facd1e0aee1554189 Mon Sep 17 00:00:00 2001 From: ZackaryWelch Date: Tue, 20 Jun 2017 14:53:00 -0400 Subject: Fixed number syntax in C++ --- src-qt5/desktop-utils/lumina-textedit/syntax_rules/cpp.syntax | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src-qt5/desktop-utils') diff --git a/src-qt5/desktop-utils/lumina-textedit/syntax_rules/cpp.syntax b/src-qt5/desktop-utils/lumina-textedit/syntax_rules/cpp.syntax index f504263e..4efd7fb3 100644 --- a/src-qt5/desktop-utils/lumina-textedit/syntax_rules/cpp.syntax +++ b/src-qt5/desktop-utils/lumina-textedit/syntax_rules/cpp.syntax @@ -45,7 +45,7 @@ }, { "name": "numbers", - "regex" : "\\b[0-9\\.]+\\b", + "regex" : "\\b[0-9]+\\.?[0-9]*\\b", "foreground": "colors/text" }, { -- cgit