summaryrefslogtreecommitdiffhomepage
path: root/docs/cregex_api.md
diff options
context:
space:
mode:
authorTyge Løvset <[email protected]>2022-10-19 17:35:49 +0200
committerGitHub <[email protected]>2022-10-19 17:35:49 +0200
commitf0e67dc62cbb418b71ad2a7b6c557d48a9be1b90 (patch)
tree1cafd2e381997e70e9b093ee4d90bd463c55d300 /docs/cregex_api.md
parent3401cc286600c50eba0be78d473f7edb44676867 (diff)
downloadSTC-modified-f0e67dc62cbb418b71ad2a7b6c557d48a9be1b90.tar.gz
STC-modified-f0e67dc62cbb418b71ad2a7b6c557d48a9be1b90.zip
Update cregex_api.md
Diffstat (limited to 'docs/cregex_api.md')
-rw-r--r--docs/cregex_api.md4
1 files changed, 2 insertions, 2 deletions
diff --git a/docs/cregex_api.md b/docs/cregex_api.md
index ecc40d9e..b3eb3c36 100644
--- a/docs/cregex_api.md
+++ b/docs/cregex_api.md
@@ -149,7 +149,7 @@ 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*** | 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 | |
@@ -157,7 +157,7 @@ c_formatch (it, &re, input)
| \| | Match either the expression before the \| or the expression after it | |
| (***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. | |
+| [\^***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 | |