Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP
Browse files

fix regex which chunks out json strings. closes #21

  • Loading branch information...
commit fa1d4e75de0e474e5e801a762c2ad97872935712 1 parent f2af06f
@lloyd authored
Showing with 2 additions and 2 deletions.
  1. +1 −1  src/jsonselect.js
  2. +1 −1  src/test/tests
View
2  src/jsonselect.js
@@ -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)
2  src/test/tests
@@ -1 +1 @@
-Subproject commit 57af546cc5759f9c9f62bf446b140b80f4c958b9
+Subproject commit 29f2882e30268ea1b0a6f1bf6a5b6e07e7136444
Please sign in to comment.
Something went wrong with that request. Please try again.