fix(learn): Made the Escaping literal quotes channel accept the dot inside the double quotes too (#40465)

* made valid solution dot inside and dot outside quotes

* Update curriculum/challenges/english/02-javascript-algorithms-and-data-structures/basic-javascript/escaping-literal-quotes-in-strings.md

Co-authored-by: Randell Dawson <5313213+RandellDawson@users.noreply.github.com>

Co-authored-by: Randell Dawson <5313213+RandellDawson@users.noreply.github.com>
This commit is contained in:
Ilenia 2020-12-16 17:07:47 +01:00 committed by GitHub
parent 9ce4a02a41
commit 7de8549e02
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -35,7 +35,7 @@ assert(code.match(/\\"/g).length === 4 && code.match(/[^\\]"/g).length === 2);
Variable myStr should contain the string: `I am a "double quoted" string inside "double quotes".`
```js
assert(myStr === 'I am a "double quoted" string inside "double quotes".');
assert(/I am a "double quoted" string inside "double quotes(\."|"\.)$/.test(myStr));
```
# --seed--