regex-adventure icon indicating copy to clipboard operation
regex-adventure copied to clipboard

Quotes adventure: add testcase that checks symbols(+ * =) within the …

Open ktopolski opened this issue 8 years ago • 1 comments

…quotation marks.

ktopolski avatar Nov 05 '16 17:11 ktopolski

Hey there,

I was doing the "Quotes" step and I found out that my regex, /("(\w|\s)*")/g, which does not check symbols within the quotation marks, is passing all the tests. After seeing proposed solution(/"[^"]*"/g) I figured out that it's better because it checks for symbols too. To aware other people taking this adventure I added test case to check for symbols in "Quotes" step.

ktopolski avatar Nov 05 '16 17:11 ktopolski