diff --git a/Syntaxes/YAML.tmLanguage b/Syntaxes/YAML.tmLanguage index 4a1b7b1..38d1861 100644 --- a/Syntaxes/YAML.tmLanguage +++ b/Syntaxes/YAML.tmLanguage @@ -811,7 +811,7 @@ ) | ( (?x: - [-+]? (?: [0-9] [0-9_]*)? \. [0-9.]* (?: [eE] [-+] [0-9]+)? # (base 10) + [-+]? (?: [0-9] [0-9_]*)? \. [0-9]* (?: [eE] [-+] [0-9]+)? # (base 10) | [-+]? [0-9] [0-9_]* (?: :[0-5]?[0-9])+ \. [0-9_]* # (base 60) | [-+]? \. (?: inf|Inf|INF) # (infinity) | \. (?: nan|NaN|NAN) # (not a number) @@ -935,7 +935,7 @@ ) | ( (?x: - [-+]? (?: [0-9] [0-9_]*)? \. [0-9.]* (?: [eE] [-+] [0-9]+)? # (base 10) + [-+]? (?: [0-9] [0-9_]*)? \. [0-9]* (?: [eE] [-+] [0-9]+)? # (base 10) | [-+]? [0-9] [0-9_]* (?: :[0-5]?[0-9])+ \. [0-9_]* # (base 60) | [-+]? \. (?: inf|Inf|INF) # (infinity) | \. (?: nan|NaN|NAN) # (not a number)