From 711fe47a7f651f38e090c9a20ecef11feba6f705 Mon Sep 17 00:00:00 2001 From: Bruce Hill Date: Mon, 19 Jul 2021 19:40:43 -0700 Subject: Overhaul of word boundaries/edges. Now they use \b, which is implemented in C, and the C code understands UTF8 id chars. --- bp.1 | 15 ++++++++++----- 1 file changed, 10 insertions(+), 5 deletions(-) (limited to 'bp.1') diff --git a/bp.1 b/bp.1 index 6b65b0d..3fa6b45 100644 --- a/bp.1 +++ b/bp.1 @@ -151,11 +151,6 @@ The literal string \f[B]\[lq]foo\[rq]\f[R]. Single and double quotes are treated the same. Escape sequences are not allowed. .TP -\f[B]{foo}\f[R] -The literal string \f[B]\[lq]foo\[rq]\f[R] with word boundaries on -either end. -Escape sequences are not allowed. -.TP \f[B]\[ga]\f[R]\f[I]c\f[R] The literal character \f[I]c\f[R] (e.g.\ \f[B]\[ga]\[at]\f[R] matches the \[lq]\[at]\[rq] character) @@ -187,6 +182,16 @@ A special case escape that matches a \[lq]nodent\[rq]: one or more newlines followed by the same indentation that occurs on the current line. .TP +\f[B]\[rs]i\f[R] +An identifier character (e.g.\ alphanumeric characters or underscores). +.TP +\f[B]\[rs]I\f[R] +An identifier character, not including numbers (e.g.\ alphabetic +characters or underscores). +.TP +\f[B]\[rs]b\f[R] +A word boundary. +.TP \f[B]!\f[R] \f[I]pat\f[R] Not \f[I]pat\f[R] .TP -- cgit v1.2.3