Skip to content

Commit

Permalink
Merge pull request #25 from touv/patch-1
Browse files Browse the repository at this point in the history
The goal is to authorize the $ character in identifiers. That enable to u
  • Loading branch information
lloyd committed Apr 14, 2012
2 parents 3d44ba2 + 1a390e9 commit 91ca3a0
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/jsonselect.js
Original file line number Diff line number Diff line change
Expand Up @@ -110,7 +110,7 @@
// (8) bogus JSON strings missing a trailing quote
"(\\\")|" +
// (9) identifiers (unquoted)
"\\.((?:[_a-zA-Z]|[^\\0-\\0177]|\\\\[^\\r\\n\\f0-9a-fA-F])(?:[_a-zA-Z0-9\\-]|[^\\u0000-\\u0177]|(?:\\\\[^\\r\\n\\f0-9a-fA-F]))*)" +
"\\.((?:[_a-zA-Z]|[^\\0-\\0177]|\\\\[^\\r\\n\\f0-9a-fA-F])(?:[\$_a-zA-Z0-9\\-]|[^\\u0000-\\u0177]|(?:\\\\[^\\r\\n\\f0-9a-fA-F]))*)" +
")"
);

Expand Down

0 comments on commit 91ca3a0

Please sign in to comment.