minor fixes
This commit is contained in:
parent
cc18823108
commit
be69f349d0
2 changed files with 5 additions and 5 deletions
|
@ -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
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue