kanouk / vba-json

Automatically exported from code.google.com/p/vba-json
0 stars 0 forks source link

Bug: Case statement comparing one character "\" to "\\" #22

Open GoogleCodeExporter opened 9 years ago

GoogleCodeExporter commented 9 years ago
What steps will reproduce the problem?
1. parse "text":"\\","row":"12345678"
2.
3.

What is the expected output? What do you see instead?
Expect text \\
get text \",

What version of the product are you using? On what operating system?
current.Excel 2010. Win 7

Please provide any additional information below.
Fix: double backslash in parseString Cannot match a single char

Change
  Case """", "\\", "/"
to
  Case """", "\", "/"

Original issue reported on code.google.com by OBeirne....@gmail.com on 14 Oct 2014 at 6:57

GoogleCodeExporter commented 9 years ago
Expected from "\\" should be \
I made the same mistake in reading!
Anyway, bug & fix stand unchanged.

Original comment by OBeirne....@gmail.com on 14 Oct 2014 at 7:09