Permalink
Browse files

Merge pull request #25 from touv/patch-1

The goal is to authorize the $ character in identifiers. That enable to u
  • Loading branch information...
2 parents 3d44ba2 + 1a390e9 commit 91ca3a0e7a570dbf17374e9b7b450cfbedd1734b @lloyd committed Apr 14, 2012
Showing with 1 addition and 1 deletion.
  1. +1 −1 src/jsonselect.js
View
@@ -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]))*)" +
")"
);

0 comments on commit 91ca3a0

Please sign in to comment.