Skip to content

Commit

Permalink
fix regex which chunks out json strings. closes #21
Browse files Browse the repository at this point in the history
  • Loading branch information
lloyd committed Jun 12, 2011
1 parent f2af06f commit fa1d4e7
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion src/jsonselect.js
Expand Up @@ -69,7 +69,7 @@
// (6) bogusly named pseudo something or others
"(:\\w+)|" +
// (7 & 8) identifiers and JSON strings
"(?:(\\.)?(\\\"(?:[^\\\\]|\\\\[^\\\"])*\\\"))|" +
"(?:(\\.)?(\\\"(?:[^\\\\\\\"]|\\\\[^\\\"])*\\\"))|" +
// (8) bogus JSON strings missing a trailing quote
"(\\\")|" +
// (9) identifiers (unquoted)
Expand Down

0 comments on commit fa1d4e7

Please sign in to comment.