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,9 +1,9 @@
# Найдите время
# Find the time
Время имеет формат: `часы:минуты`. И часы, и минуты имеют две цифры, например, `09:00`.
The time has a format: `hours:minutes`. Both hours and minutes has two digits, like `09:00`.
Введите регулярное выражение, чтобы найти время в строке: `subject:Завтрак в 09:00 в комнате 123:456.`
Make a regexp to find time in the string: `subject:Breakfast at 09:00 in the room 123:456.`
P.S. В этой задаче пока нет необходимости проверять правильность времени, поэтому `25:99` также может быть верным результатом.
P.S. In this task there's no need to check time correctness yet, so `25:99` can also be a valid result.
P.P.S. Регулярное выражение не должно находить `123:456`.
P.P.S. The regexp shouldn't match `123:456`.