-
V. N. Karazin Kharkiv National University
- Kremenchuk, Ukraine
-
18:06
(UTC +02:00)
Pinned Loading
-
Generate RegExp dynamically to match...
Generate RegExp dynamically to match the pattern 1// Given a pattern and a string line, find if line follows the same pattern.
2// pattern = 'abba', line = 'dog cat cat dog'
34const isMatched = (pattern, line) => {
5const words = line.split(" ");
-
Something went wrong, please refresh the page to try again.
If the problem persists, check the GitHub status page or contact support.
If the problem persists, check the GitHub status page or contact support.