up
This commit is contained in:
parent
ab9ab64bd5
commit
97c8f22bbb
289 changed files with 195 additions and 172 deletions
|
@ -0,0 +1,6 @@
|
|||
|
||||
The result is: `match:123 4`.
|
||||
|
||||
First the lazy `pattern:\d+?` tries to take as little digits as it can, but it has to reach the space, so it takes `match:123`.
|
||||
|
||||
Then the second `\d+?` takes only one digit, because that's enough.
|
|
@ -0,0 +1,7 @@
|
|||
# A match for /d+? d+?/
|
||||
|
||||
What's the match here?
|
||||
|
||||
```js
|
||||
"123 456".match(/\d+? \d+?/g) ); // ?
|
||||
```
|
Loading…
Add table
Add a link
Reference in a new issue