diff options
| author | Tyge Løvset <[email protected]> | 2022-10-19 17:43:48 +0200 |
|---|---|---|
| committer | GitHub <[email protected]> | 2022-10-19 17:43:48 +0200 |
| commit | 806d2eb0dede22bd369eb36b35eadfa864f5f663 (patch) | |
| tree | 9dfc8d8dbb6c47797e02665275792df940fab7d0 /docs/cregex_api.md | |
| parent | f0e67dc62cbb418b71ad2a7b6c557d48a9be1b90 (diff) | |
| download | STC-modified-806d2eb0dede22bd369eb36b35eadfa864f5f663.tar.gz STC-modified-806d2eb0dede22bd369eb36b35eadfa864f5f663.zip | |
Update cregex_api.md
Diffstat (limited to 'docs/cregex_api.md')
| -rw-r--r-- | docs/cregex_api.md | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/docs/cregex_api.md b/docs/cregex_api.md index b3eb3c36..414fbe11 100644 --- a/docs/cregex_api.md +++ b/docs/cregex_api.md @@ -156,8 +156,8 @@ c_formatch (it, &re, input) | + | Match the preceding token at least once and as often as possible | | | \| | 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***] | Match any character inside the brackets. Ranges like a-z may also be used | | +| \[^***chars***\] | Match any character not inside the bracket. | | | \x{***hex***} | Match UTF8 character/codepoint given as a hex number | * | | ^ | Start of line anchor | | | $ | End of line anchor | | @@ -180,13 +180,13 @@ c_formatch (it, &re, input) | \p{Upper} or \p{Lu} | Match UTF8 upper case | * | | \p{Alpha} or \p{LC} | Match UTF8 cased letter | * | | \p{Alnum} | Match UTF8 alpha numeric | * | -| \P{***class***} | Do not match the classes described above | * | +| \P{***Class***} | Do not match the classes described above | * | | [[:alnum:]] [[:alpha:]] [[:ascii:]] | Match ASCII character class | * | | [[:blank:]] [[:cntrl:]] [[:digit:]] | Match ASCII character class | * | | [[:graph:]] [[:lower:]] [[:print:]] | Match ASCII character class | * | | [[:punct:]] [[:space:]] [[:upper:]] | Match ASCII character class | * | | [[:xdigit:]] [[:word:]] | Match ASCII character class | * | -| [[:^***class***:]] | Do not match ASCII character class | * | +| [[:^***class***:]] | Match character not in the ASCII class | * | | $***n*** | *n*-th substitution backreference to capture group. ***n*** in 0-9. $0 is the entire match. | * | | $***nn***; | As above, but can handle ***nn*** < cre_MAXCAPTURES. | * | |
