minor fixes

This commit is contained in:
Ilya Kantor 2021-11-01 21:18:23 +03:00
parent cc18823108
commit be69f349d0
2 changed files with 5 additions and 5 deletions

View file

@ -9,7 +9,7 @@ Now let's show that the match should capture all the text: start at the beginnin
Finally:
```js run
let regexp = /^[0-9a-fA-F]{2}(:[0-9a-fA-F]{2}){5}$/i;
let regexp = /^[0-9a-f]{2}(:[0-9a-f]{2}){5}$/i;
alert( regexp.test('01:32:54:67:89:AB') ); // true