Archived
1
0

Fix the grouping of the floating point regex

This commit is contained in:
Jip J. Dekker 2018-02-05 17:38:13 +11:00
parent 619b8b57af
commit eeef78c5ea

View File

@ -126,8 +126,8 @@ numeric : context {
}
: pattern {
description = floating point number
regex \= (\b\d+(.\d+|(.\d+)?[Ee][-+]?\d+))
styles [] = .numeric, .numeric, .numeric;
regex \= (\b\d+(?:.\d+|(?:.\d+)?[Ee][-+]?\d+))
styles [] = .numeric;
}
}