Comparing version 0.1.1 to 0.1.2
@@ -28,3 +28,3 @@ "use strict"; | ||
p.seq(lexemeP("("), p.repeat(function () { return sexprP; }), lexemeP(")")).onMatch(function (m) { return m[1]; }), | ||
lexemeP(p.regex(/[a-zA-Z\?\.\-\/*+<>=!%,~\$][a-zA-Z0-9_\?\.\-\/*+<>=+!%,~\$]*/)).onMatch(function (m) { return m[0]; }), | ||
lexemeP(p.regex(/[a-zA-Z\?\.\-\/*+<>=!%,~\$_][a-zA-Z0-9_\?\.\-\/*+<>=+!%,~\$]*/)).onMatch(function (m) { return m[0]; }), | ||
lexemeP(p.regex(/"((?:[^"]|\\.)*?)"/)).onMatch(unquote), | ||
@@ -31,0 +31,0 @@ lexemeP(p.regex(/'((?:[^']|\\.)*?)'/)).onMatch(unquote), |
{ | ||
"name": "jsstana", | ||
"description": "s-expression match patterns for Mozilla Parser AST", | ||
"version": "0.1.1", | ||
"version": "0.1.2", | ||
"homepage": "https://github.com/phadej/jsstana", | ||
@@ -6,0 +6,0 @@ "author": { |
@@ -276,2 +276,3 @@ # jsstana | ||
- 0.1.2 Fix bug, identifier could start with underscore: `_` | ||
- 0.1.1 New (call) syntax | ||
@@ -278,0 +279,0 @@ - `(call ?fun ?param ?params ?last-one)` |
53344
359