From 3401cc286600c50eba0be78d473f7edb44676867 Mon Sep 17 00:00:00 2001 From: Tyge Løvset <60263450+tylov@users.noreply.github.com> Date: Wed, 19 Oct 2022 17:33:58 +0200 Subject: Update cregex_api.md --- docs/cregex_api.md | 10 +++++----- 1 file 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 | | -- cgit v1.2.3