aboutsummaryrefslogtreecommitdiff
path: root/bp.1
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
parent378e94090f5fb61b6c1e35b99e597dfca61ef7a9 (diff)
Added support for multiple escape sequences: \n,r,t
Diffstat (limited to 'bp.1')
-rw-r--r--bp.116
1 files changed, 10 insertions, 6 deletions
diff --git a/bp.1 b/bp.1
index 6ef59e2..6b65b0d 100644
--- a/bp.1
+++ b/bp.1
@@ -1,4 +1,4 @@
-.\" Automatically generated by Pandoc 2.11.3
+.\" Automatically generated by Pandoc 2.14.0.2
.\"
.TH "BP" "1" "May 17 2021" "" ""
.hy
@@ -160,16 +160,16 @@ Escape sequences are not allowed.
The literal character \f[I]c\f[R] (e.g.\ \f[B]\[ga]\[at]\f[R] matches
the \[lq]\[at]\[rq] character)
.TP
-\f[B]\[ga]\f[R]\f[I]c1\f[R]\f[B],\f[R]\f[I]c2\f[R]
-The literal character \f[I]c1\f[R] or \f[I]c2\f[R]
-(e.g.\ \f[B]\[ga]a,e,i,o,u\f[R])
-.TP
\f[B]\[ga]\f[R]\f[I]c1\f[R]\f[B]-\f[R]\f[I]c2\f[R]
The character range \f[I]c1\f[R] to \f[I]c2\f[R]
(e.g.\ \f[B]\[ga]a-z\f[R]).
Multiple ranges can be combined with a comma
(e.g.\ \f[B]\[ga]a-z,A-Z\f[R]).
.TP
+\f[B]\[ga]\f[R]\f[I]c1\f[R]\f[B],\f[R]\f[I]c2\f[R]
+Any one of the given character or character ranges \f[I]c1\f[R] or
+\f[I]c2\f[R] (e.g.\ \f[B]\[ga]a,e,i,o,u,0-9\f[R])
+.TP
\f[B]\[rs]\f[R]\f[I]esc\f[R]
An escape sequence (e.g.\ \f[B]\[rs]n\f[R], \f[B]\[rs]x1F\f[R],
\f[B]\[rs]033\f[R], etc.)
@@ -178,6 +178,10 @@ An escape sequence (e.g.\ \f[B]\[rs]n\f[R], \f[B]\[rs]x1F\f[R],
An escape sequence range from \f[I]esc1\f[R] to \f[I]esc2\f[R]
(e.g.\ \f[B]\[rs]x00-x1F\f[R])
.TP
+\f[B]\[rs]\f[R]\f[I]esc1\f[R]\f[B],\f[R]\f[I]esc2\f[R]
+Any one of the given escape sequences or ranges \f[I]esc1\f[R] or
+\f[I]esc2\f[R] (e.g.\ \f[B]\[rs]r,n,x01-x04\f[R])
+.TP
\f[B]\[rs]N\f[R]
A special case escape that matches a \[lq]nodent\[rq]: one or more
newlines followed by the same indentation that occurs on the current
@@ -205,7 +209,7 @@ At least \f[I]N\f[R] or more repetitions of \f[I]pat\f[R]
.TP
\f[B]*\f[R] \f[I]pat\f[R]
Some \f[I]pat\f[R]s (zero or more, e.g.\ \f[B]* \[dq]x\[dq]\f[R] matches
-\f[B]\[dq]\[lq]\f[R], \f[B]\[rq]x\[lq]\f[R], \f[B]\[rq]xx\[dq]\f[R],
+\f[B]\[lq]\[lq]\f[R], \f[B]\[rq]x\[rq]\f[R], \f[B]\[lq]xx\[rq]\f[R],
etc.)
.TP
\f[B]+\f[R] \f[I]pat\f[R]