diff options
| author | Tyge Løvset <[email protected]> | 2022-10-19 17:33:58 +0200 |
|---|---|---|
| committer | GitHub <[email protected]> | 2022-10-19 17:33:58 +0200 |
| commit | 3401cc286600c50eba0be78d473f7edb44676867 (patch) | |
| tree | 65f4a28df20a90d5ce7e1fafddebf068b2c53bac /docs/cregex_api.md | |
| parent | 0441f3844410c64b7e2d4a2604b4254b851e64c8 (diff) | |
| download | STC-modified-3401cc286600c50eba0be78d473f7edb44676867.tar.gz STC-modified-3401cc286600c50eba0be78d473f7edb44676867.zip | |
Update cregex_api.md
Diffstat (limited to 'docs/cregex_api.md')
| -rw-r--r-- | docs/cregex_api.md | 10 |
1 files changed, 5 insertions, 5 deletions
diff --git a/docs/cregex_api.md b/docs/cregex_api.md index 0640f17b..ecc40d9e 100644 --- a/docs/cregex_api.md +++ b/docs/cregex_api.md @@ -148,16 +148,16 @@ c_formatch (it, &re, input) | Metacharacter | Description | STC addition | |:--:|:--:|:--:| -| c | Most characters (like c) match themselve literally | | -| \c | Some characters are used as metacharacters. To use them literally escape them | | +| ***c*** | Most characters (like c) match themselve literally | | +| \***c*** | Some characters are used as metacharacters. To use them literally escape them | | | . | Match any character, except newline unless in (?s) mode | | | ? | Match the preceding token zero or one time | | | * | Match the preceding token as often as possible | | | + | Match the preceding token at least once and as often as possible | | | \| | Match either the expression before the \| or the expression after it | | -| (c) | Match the expression inside the parentheses. This adds a capture group | | -| [c] | Match all characters inside the brackets. Ranges like a-z may also be used | | -| [^c] | Do not match the characters inside the bracket. | | +| (***expr***) | Match the expression inside the parentheses. This adds a capture group | | +| [***chars***] | Match all characters inside the brackets. Ranges like a-z may also be used | | +| [^***chars***] | Do not match the characters inside the bracket. | | | \x{***hex***} | Match UTF8 character/codepoint given as a hex number | * | | ^ | Start of line anchor | | | $ | End of line anchor | | |
