ycpatel813/vba-json

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

Opened this issue · 1 comments

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

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