diff options
| author | Bruce Hill <bruce@bruce-hill.com> | 2021-07-19 19:40:43 -0700 |
|---|---|---|
| committer | Bruce Hill <bruce@bruce-hill.com> | 2021-07-19 19:40:43 -0700 |
| commit | 711fe47a7f651f38e090c9a20ecef11feba6f705 (patch) | |
| tree | 98a3283e7c630919a08f8bd95326ceeb1a93da9e /bp.1.md | |
| parent | 62e7d654bd70db89cb38e5d9efeb9a9b0e9cf202 (diff) | |
Overhaul of word boundaries/edges. Now they use \b, which is implemented
in C, and the C code understands UTF8 id chars.
Diffstat (limited to 'bp.1.md')
| -rw-r--r-- | bp.1.md | 13 |
1 files changed, 9 insertions, 4 deletions
@@ -139,10 +139,6 @@ grammar file. See the **GRAMMAR FILES** section for more info. : The literal string **"foo"**. Single and double quotes are treated the same. Escape sequences are not allowed. -`{foo}` -: The literal string **"foo"** with word boundaries on either end. Escape -sequences are not allowed. - `` ` ``*c* : The literal character *c* (e.g. `` `@ `` matches the "@" character) @@ -166,6 +162,15 @@ can be combined with a comma (e.g. `` `a-z,A-Z ``). : A special case escape that matches a "nodent": one or more newlines followed by the same indentation that occurs on the current line. +`\i` +: An identifier character (e.g. alphanumeric characters or underscores). + +`\I` +: An identifier character, not including numbers (e.g. alphabetic characters or underscores). + +`\b` +: A word boundary. + `!` *pat* : Not *pat* |
