fix unneded escaping

commit suggestions from code review

Co-authored-by: Shaun Hamilton <51722130+ShaunSHamilton@users.noreply.github.com>
This commit is contained in:
Ilenia
2021-01-05 16:56:33 +01:00
committed by GitHub
parent 714aecd5f5
commit 64c84a9213
5 changed files with 9 additions and 14 deletions

View File

@ -45,9 +45,8 @@ jan 100
---
<pre>\[Error]</pre>
<pre>[Error]</pre>
## --video-solution--
1

View File

@ -13,7 +13,7 @@ What is used to indicate a new line in a string?
## --answers--
<pre>\\n</pre>
<pre>\n</pre>
---
@ -34,4 +34,3 @@ What is used to indicate a new line in a string?
## --video-solution--
1

View File

@ -17,11 +17,11 @@ What will search for a "$" in a regular expression?
---
<pre>\\dollar\\</pre>
<pre>\dollar\</pre>
---
<pre>\\$</pre>
<pre>\$</pre>
---
@ -30,4 +30,3 @@ What will search for a "$" in a regular expression?
## --video-solution--
3

View File

@ -13,11 +13,11 @@ Which regex matches only a white space character?
## --answers--
<pre>\\S</pre>
<pre>\S</pre>
---
<pre>\\s</pre>
<pre>\s</pre>
---
@ -25,13 +25,12 @@ Which regex matches only a white space character?
---
<pre>\_</pre>
<pre>_</pre>
---
<pre>\\.</pre>
<pre>\.</pre>
## --video-solution--
2

View File

@ -25,9 +25,8 @@ What is the symbol used in an assignment statement?
---
<pre>\|</pre>
<pre>|</pre>
## --video-solution--
3