closes #1882
This commit is contained in:
parent
c331e443d8
commit
8a0058d6e0
1 changed files with 1 additions and 1 deletions
|
@ -18,7 +18,7 @@ Without parentheses, the pattern `pattern:go+` means `subject:g` character, foll
|
|||
Parentheses group characters together, so `pattern:(go)+` means `match:go`, `match:gogo`, `match:gogogo` and so on.
|
||||
|
||||
```js run
|
||||
alert( 'Gogogo now!'.match(/(go)+/i) ); // "Gogogo"
|
||||
alert( 'Gogogo now!'.match(/(go)+/ig) ); // "Gogogo"
|
||||
```
|
||||
|
||||
### Example: domain
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue