Update regexp.md

This commit is contained in:
Rico Sta. Cruz 2019-10-15 20:24:15 +11:00 committed by GitHub
parent 41babf9c07
commit df11d9ed8b
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 5 additions and 5 deletions

View File

@ -47,11 +47,11 @@ description: |
### Groups ### Groups
| Pattern | Description | | Pattern | Description |
| --------- | ------------------------- | | --------- | ------------------------------ |
| `(abc)` | Capture group | | `(abc)` | Capture group |
| `(a|b)` | Match either a or b | | `(a|b)` | Match `a` or `b` |
| `(?:abc)` | Match everything enclosed | | `(?:abc)` | Match `abc`, but don't capture |
### Quantifiers ### Quantifiers