cesarmarinhorj / jsonpath

Automatically exported from code.google.com/p/jsonpath
0 stars 0 forks source link

Fail to detect wrong syntax #31

Open GoogleCodeExporter opened 8 years ago

GoogleCodeExporter commented 8 years ago
What steps will reproduce the problem?
1. Use syntax like: $.['number']

What is the expected output? What do you see instead?
This syntax is not documented, but it is treated as an equivalent to $..number.

What version of the product are you using? On what operating system?
0.8.0

Please provide any additional information below.
replace(/;;;|;;/g, ";..;") in normalize should be the problem

Original issue reported on code.google.com by softrank...@gmail.com on 6 Jul 2014 at 3:07