summary refs log tree commit diff stats
diff options
context:
space:
mode:
authorMiran <narimiran@disroot.org>2019-01-30 19:49:09 +0100
committerAndreas Rumpf <rumpf_a@web.de>2019-01-30 19:49:09 +0100
commit47037ebee32792f5cc0ef292b7f2fc7d4c734936 (patch)
tree9dafd161a9ef591fda61bab18bdb38ea5f41fa03
parent2ce9845fe4bd2196fd08a2bca0b3c259ed8838d2 (diff)
downloadNim-47037ebee32792f5cc0ef292b7f2fc7d4c734936.tar.gz
fixes #9471 (#10502)
-rw-r--r--doc/regexprs.txt12
1 files changed, 6 insertions, 6 deletions
diff --git a/doc/regexprs.txt b/doc/regexprs.txt
index 5c6d37e89..83dbd2eeb 100644
--- a/doc/regexprs.txt
+++ b/doc/regexprs.txt
@@ -80,13 +80,13 @@ meta character     meaning
 ``|``              start of alternative branch
 ``(``              start subpattern
 ``)``              end subpattern
-``?``              extends the meaning of ``(``
-                   also 0 or 1 quantifier
-                   also quantifier minimizer
-``*``              0 or more quantifier
-``+``              1 or more quantifier
-                   also "possessive quantifier"
 ``{``              start min/max quantifier
+``?``              extends the meaning of ``(``
+                   | also 0 or 1 quantifier (equal to ``{0,1}``)
+                   | also quantifier minimizer
+``*``              0 or more quantifier (equal to ``{0,}``)
+``+``              1 or more quantifier (equal to ``{1,}``)
+                   | also "possessive quantifier"
 ==============     ============================================================