Skip to content

Commit d518988

Browse files
Update solution.md
1 parent c02a730 commit d518988

File tree

1 file changed

+1
-1
lines changed
  • 9-regular-expressions/08-regexp-character-sets-and-ranges/2-find-time-2-formats

1 file changed

+1
-1
lines changed

9-regular-expressions/08-regexp-character-sets-and-ranges/2-find-time-2-formats/solution.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5,4 +5,4 @@ let regexp = /\d\d[-:]\d\d/g;
55
alert( "Breakfast at 09:00. Dinner at 21-30".match(regexp) ); // 09:00, 21-30
66
```
77

8-
Please note that the dash `pattern:'-'` has a special meaning in square brackets, but only between other characters, not when it's in the beginning or at the end, so we don't need to escape it.
8+
Зверніть увагу, що риска `pattern:'-'` має спеціальне значення у квартратних дужкахб але тільки між іншими символами, не на початку чи в кінці виразу, тож немає необхідності її екранувати.

0 commit comments

Comments
 (0)