Comparing version 1.0.0 to 1.0.1
{ | ||
"name": "tokenizr", | ||
"version": "1.0.0", | ||
"version": "1.0.1", | ||
"description": "String Tokenization Library for JavaScript", | ||
@@ -5,0 +5,0 @@ "main": "lib/tokenizr.js", |
{ | ||
"name": "tokenizr", | ||
"version": "1.0.0", | ||
"version": "1.0.1", | ||
"description": "String Tokenization Library for JavaScript", | ||
@@ -5,0 +5,0 @@ "keywords": [ "string", "token", "scanner", "lexer" ], |
@@ -110,3 +110,3 @@ | ||
}) | ||
lexer.rule(/[+-]?[0-9]+/, function (ctx, match) => { | ||
lexer.rule(/[+-]?[0-9]+/, (ctx, match) => { | ||
ctx.accept("number", parseInt(match[0])) | ||
@@ -113,0 +113,0 @@ }) |
75873