diff --git a/examples/css.pegjs b/examples/css.pegjs index 1199cff..46b1295 100644 --- a/examples/css.pegjs +++ b/examples/css.pegjs @@ -292,7 +292,7 @@ name = chars:nmchar+ { return chars.join(""); } num - = [+-]? ([0-9]+ / [0-9]* "." [0-9]+) ("e" [+-]? [0-9]+)? { + = [+-]? ([0-9]* "." [0-9]+ / [0-9]+) ("e" [+-]? [0-9]+)? { return parseFloat(text()); }