Solution to specify-exact-number-of-matches.english JavaScript Challenge (#34757)
* Update specify-exact-number-of-matches.english.md Added an explanation to the working code too * fix: removed i flag and comments
This commit is contained in:
committed by
Paul Gamble
parent
6f9dbbb2a5
commit
960811e31f
@ -60,6 +60,8 @@ let result = timRegex.test(timStr);
|
||||
<section id='solution'>
|
||||
|
||||
```js
|
||||
// solution required
|
||||
let timStr = "Timmmmber";
|
||||
let timRegex = /Tim{4}ber/; // Change this line
|
||||
let result = timRegex.test(timStr);
|
||||
```
|
||||
</section>
|
||||
|
Reference in New Issue
Block a user