Update
This commit is contained in:
parent
9635bbfa85
commit
0ea738f524
12 changed files with 26 additions and 17 deletions
2
regex.md
2
regex.md
|
@ -32,7 +32,7 @@ There exist different standards and de-facto standards for regular expressions,
|
|||
|`{`*M*`,`*N*`}`| *M* to *N* repetitions of *expr* |escape (`\{`, `\}`) in basic| `a{2,4}` matches `aa`, `aaa`, `aaaa` |
|
||||
|*e1*<code>|</code>*e2*| *e1* or *e2* | escape in basic |<code>ab|cd</code> match. `ab` or `cd`|
|
||||
| `\`*n* |backref., *n*th matched group (starts with 1)| extended only | `(..).*\1` matches e.g. `ABcdefAB` |
|
||||
|`[:alpha:]` | alphabetic, *a* to *z*, *A* to *Z* | Posix (GNU has `[[` `]]` | `[:alpha:]*` matches e.g. `abcDEF` |
|
||||
|`[:alpha:]` | alphabetic, *a* to *z*, *A* to *Z* | Posix (GNU has `[[` `]]`) | `[:alpha:]*` matches e.g. `abcDEF` |
|
||||
|`[:alnum:]` | | same as above | |
|
||||
|`[:digit:]` | | same as above | |
|
||||
|`[:blank:]` | | same as above | |
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue