en.javascript.info/11-regular-expressions-javascript/8-regexp-greedy-and-lazy/1-lazy-greedy/task.md
2015-03-24 00:03:51 +03:00

8 lines
279 B
Markdown
Raw Blame History

This file contains ambiguous Unicode characters

This file contains Unicode characters that might be confused with other characters. If you think that this is intentional, you can safely ignore this warning. Use the Escape button to reveal them.

# Совпадение для /d+? d+/
Что будет при таком поиске, когда сначало стоит ленивый, а потом жадный квантификаторы?
```js
"123 456".match(/\d+? \d+/g) ); // какой результат?
```