diff options
-rw-r--r-- | src-qt5/desktop-utils/lumina-textedit/syntax_rules/cpp.syntax | 2 |
1 files changed, 1 insertions, 1 deletions
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" }, { |