This commit is contained in:
Ilya Kantor 2019-09-04 19:35:17 +03:00
parent f21cb0a2f4
commit fc0b18538d
4 changed files with 30 additions and 31 deletions

View file

@ -1,6 +1,6 @@
Ответ: `pattern:\b\d\d:\d\d\b`.
The answer: `pattern:\b\d\d:\d\d\b`.
```js run
alert( "Завтрак в 09:00 в комнате 123:456.".match( /\b\d\d:\d\d\b/ ) ); // 09:00
alert( "Breakfast at 09:00 in the room 123:456.".match( /\b\d\d:\d\d\b/ ) ); // 09:00
```