added capturing group reference term (#1896)
This commit is contained in:
parent
271e0b7c5d
commit
09d5779281
11
regexp.md
11
regexp.md
|
@ -59,11 +59,12 @@ description: |
|
|||
|
||||
### Groups
|
||||
|
||||
| Pattern | Description |
|
||||
| --------- | ------------------------------ |
|
||||
| `(abc)` | Capture group |
|
||||
| `(a|b)` | Match `a` or `b` |
|
||||
| `(?:abc)` | Match `abc`, but don't capture |
|
||||
| Pattern | Description |
|
||||
| --------- | ------------------------------------------------------- |
|
||||
| `(abc)` | Capture group |
|
||||
| `(a|b)` | Match `a` or `b` |
|
||||
| `(?:abc)` | Match `abc`, but don't capture |
|
||||
| `\1` | Subsituted with text matched of the 1st capturing group |
|
||||
|
||||
|
||||
### Quantifiers
|
||||
|
|
Loading…
Reference in New Issue