1.5 KiB
1.5 KiB
id | title | challengeType | videoUrl | localeTitle |
---|---|---|---|---|
587d7db5367417b2b2512b97 | Match Numbers and Letters of the Alphabet | 1 | Спичечные номера и буквы алфавита |
Description
undefined
Instructions
h
и s
, и диапазон чисел от 2
до 6
. Не забудьте включить соответствующие флаги в регулярное выражение. Tests
tests:
- text: Ваше regex <code>myRegex</code> должно соответствовать 17 элементам.
testString: 'assert(result.length == 17, "Your regex <code>myRegex</code> should match 17 items.");'
- text: ''
testString: 'assert(myRegex.flags.match(/g/).length == 1, "Your regex <code>myRegex</code> should use the global flag.");'
- text: ''
testString: 'assert(myRegex.flags.match(/i/).length == 1, "Your regex <code>myRegex</code> should use the case insensitive flag.");'
Challenge Seed
let quoteSample = "Blueberry 3.141592653s are delicious.";
let myRegex = /change/; // Change this line
let result = myRegex; // Change this line
Solution
// solution required