aboutsummaryrefslogtreecommitdiff
path: root/bp.1.md
diff options
context:
space:
mode:
authorBruce Hill <bruce@bruce-hill.com>2021-07-17 14:19:55 -0700
committerBruce Hill <bruce@bruce-hill.com>2021-07-17 14:19:55 -0700
commitad85fb1da590f988cb64f270cf2239c06405b2a7 (patch)
tree65767cd2c94790d24d469d0d9cbcf5201bcfa880 /bp.1.md
parent378e94090f5fb61b6c1e35b99e597dfca61ef7a9 (diff)
Added support for multiple escape sequences: \n,r,t
Diffstat (limited to 'bp.1.md')
-rw-r--r--bp.1.md9
1 files changed, 6 insertions, 3 deletions
diff --git a/bp.1.md b/bp.1.md
index a716512..d8b95bc 100644
--- a/bp.1.md
+++ b/bp.1.md
@@ -146,19 +146,22 @@ sequences are not allowed.
`` ` ``*c*
: The literal character *c* (e.g. `` `@ `` matches the "@" character)
-`` ` ``*c1*`,`*c2*
-: The literal character *c1* or *c2* (e.g. `` `a,e,i,o,u ``)
-
`` ` ``*c1*`-`*c2*
: The character range *c1* to *c2* (e.g. `` `a-z ``). Multiple ranges
can be combined with a comma (e.g. `` `a-z,A-Z ``).
+`` ` ``*c1*`,`*c2*
+: Any one of the given character or character ranges *c1* or *c2* (e.g. `` `a,e,i,o,u,0-9 ``)
+
`\`*esc*
: An escape sequence (e.g. `\n`, `\x1F`, `\033`, etc.)
`\`*esc1*`-`*esc2*
: An escape sequence range from *esc1* to *esc2* (e.g. `\x00-x1F`)
+`\`*esc1*`,`*esc2*
+: Any one of the given escape sequences or ranges *esc1* or *esc2* (e.g. `\r,n,x01-x04`)
+
`\N`
: A special case escape that matches a "nodent": one or more newlines followed
by the same indentation that occurs on the current line.