fix(curriculum): added extra line before </section> tag - Engl… (#36278)

This commit is contained in:
Randell Dawson
2019-07-18 08:24:12 -07:00
committed by mrugesh
parent b038af4925
commit c387873640
927 changed files with 928 additions and 0 deletions

View File

@ -68,4 +68,5 @@ let favWord = "favorite";
let favRegex = /favou?r/;
let result = favRegex.test(favWord);
```
</section>

View File

@ -70,4 +70,5 @@ let myString = "Eleanor Roosevelt";
let myRegex = /(Franklin|Eleanor).*Roosevelt/;
let result = myRegex.test(myString);
```
</section>

View File

@ -66,4 +66,5 @@ let extractStr = "Extract the word 'coding' from this string.";
let codingRegex = /coding/; // Change this line
let result = extractStr.match(codingRegex); // Change this line
```
</section>

View File

@ -55,4 +55,5 @@ let text = "<h1>Winter is coming</h1>";
let myRegex = /<.*?>/; // Change this line
let result = text.match(myRegex);
```
</section>

View File

@ -74,4 +74,5 @@ let twinkleStar = "Twinkle, twinkle, little star";
let starRegex = /twinkle/gi;
let result = twinkleStar.match(starRegex);
```
</section>

View File

@ -90,4 +90,5 @@ let reCriminals = /C+/; // Change this line
let matchedCriminals = crowd.match(reCriminals);
```
</section>

View File

@ -71,4 +71,5 @@ let myString = "freeCodeCamp";
let fccRegex = /freecodecamp/i; // Change this line
let result = fccRegex.test(myString);
```
</section>

View File

@ -66,4 +66,5 @@ let petString = "James has a pet cat.";
let petRegex = /dog|cat|bird|fish/; // Change this line
let result = petRegex.test(petString);
```
</section>

View File

@ -75,4 +75,5 @@ let quoteSample = "The five boxing wizards jump quickly.";
let alphabetRegexV2 = /\w/g; // Change this line
let result = quoteSample.match(alphabetRegexV2).length;
```
</section>

View File

@ -66,4 +66,5 @@ let movieName = "2001: A Space Odyssey";
let noNumRegex = /\D/g; // Change this line
let result = movieName.match(noNumRegex).length;
```
</section>

View File

@ -67,4 +67,5 @@ let numRegex = /\d/g; // Change this line
let result = movieName.match(numRegex).length;
```
</section>

View File

@ -79,4 +79,5 @@ let exampleStr = "Let's have fun with regular expressions!";
let unRegex = /.un/; // Change this line
let result = unRegex.test(exampleStr);
```
</section>

View File

@ -69,4 +69,5 @@ let rickyAndCal = "Cal and Ricky both like racing.";
let calRegex = /^Cal/; // Change this line
let result = calRegex.test(rickyAndCal);
```
</section>

View File

@ -58,4 +58,5 @@ let difficultSpelling = "Mississippi";
let myRegex = /s+/g; // Change this line
let result = difficultSpelling.match(myRegex);
```
</section>

View File

@ -78,4 +78,5 @@ const chewieQuote = "Aaaaaaaaaaaaaaaarrrgh!";
let chewieRegex = /Aa*/;
let result = chewieQuote.match(chewieRegex);
```
</section>

View File

@ -68,4 +68,5 @@ let caboose = "The last car on a train is the caboose";
let lastRegex = /caboose$/; // Change this line
let result = lastRegex.test(caboose);
```
</section>

View File

@ -71,4 +71,5 @@ let quoteSample = "The five boxing wizards_jump quickly.";
let nonAlphabetRegex = /\W/g; // Change this line
let result = quoteSample.match(nonAlphabetRegex).length;
```
</section>

View File

@ -69,4 +69,5 @@ let quoteSample = "The quick brown fox jumps over the lazy dog.";
let alphabetRegex = /[a-z]/gi; // Change this line
let result = quoteSample.match(alphabetRegex); // Change this line
```
</section>

View File

@ -72,4 +72,5 @@ let waldoIsHiding = "Somewhere Waldo is hiding in this text.";
let waldoRegex = /Waldo/; // Change this line
let result = waldoRegex.test(waldoIsHiding);
```
</section>

View File

@ -67,4 +67,5 @@ let sample = "Whitespace is important in separating words";
let countNonWhiteSpace = /\S/g; // Change this line
let result = sample.match(countNonWhiteSpace);
```
</section>

View File

@ -66,4 +66,5 @@ let myRegex = /[h-s2-6]/gi; // Change this line
let result = quoteSample.match(myRegex); // Change this line
```
</section>

View File

@ -75,4 +75,5 @@ let quoteSample = "Beware of bugs in the above code; I have only proved it corre
let vowelRegex = /[aeiou]/gi; // Change this line
let result = quoteSample.match(vowelRegex); // Change this line
```
</section>

View File

@ -57,4 +57,5 @@ let quoteSample = "3 blind mice.";
let myRegex = /[^0-9aeiou]/gi; // Change this line
let result = quoteSample.match(myRegex); // Change this line
```
</section>

View File

@ -68,4 +68,5 @@ let sample = "Whitespace is important in separating words";
let countWhiteSpace = /\s/g;
let result = sample.match(countWhiteSpace);
```
</section>

View File

@ -56,4 +56,5 @@ let hello = " Hello, World! ";
let wsRegex = /^(\s+)(.+[^\s])(\s+)$/;
let result = hello.replace(wsRegex, '$2');
```
</section>

View File

@ -81,4 +81,5 @@ let repeatNum = "42 42 42";
let reRegex = /^(\d+)\s\1\s\1$/;
let result = reRegex.test(repeatNum);
```
</section>

View File

@ -74,4 +74,5 @@ let timStr = "Timmmmber";
let timRegex = /Tim{4}ber/; // Change this line
let result = timRegex.test(timStr);
```
</section>

View File

@ -76,4 +76,5 @@ let haStr = "Hazzzzah";
let haRegex = /Haz{4,}ah/; // Change this line
let result = haRegex.test(haStr);
```
</section>

View File

@ -73,4 +73,5 @@ let fixRegex = /good/g; // Change this line
let replaceText = "okey-dokey"; // Change this line
let result = huhText.replace(fixRegex, replaceText);
```
</section>

View File

@ -63,4 +63,5 @@ let myString = "Hello, World!";
let myRegex = /Hello/;
let result = myRegex.test(myString); // Change this line
```
</section>