Update regexp.md

Added patterns of groups.
This commit is contained in:
ashur1k 2019-10-14 11:27:55 +03:00 committed by GitHub
parent 1e927dccfc
commit 41babf9c07
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 6 additions and 3 deletions

View File

@ -47,9 +47,12 @@ description: |
### Groups ### Groups
| Pattern | Description | | Pattern | Description |
| ------- | ------------- | | --------- | ------------------------- |
| `(abc)` | Capture group | | `(abc)` | Capture group |
| `(a|b)` | Match either a or b |
| `(?:abc)` | Match everything enclosed |
### Quantifiers ### Quantifiers