From e6aafbc1ac9bb88ac062b7ab359b6f15c322c3cd Mon Sep 17 00:00:00 2001 From: Bruce Hill Date: Mon, 10 May 2021 23:49:17 -0700 Subject: Updated readme --- README.md | 3 +++ 1 file changed, 3 insertions(+) diff --git a/README.md b/README.md index 0453771..f714f14 100644 --- a/README.md +++ b/README.md @@ -37,6 +37,7 @@ suffix operators. Pattern | Meaning -------------------|--------------------- +`"foo"`, `'foo'` | The literal string `foo`. There are no escape sequences within strings. `pat1 pat2` | `pat1` followed by `pat2` `pat1 / pat2` | `pat1` if it matches, otherwise `pat2` `..pat` | Any text up to and including `pat` (except newlines) @@ -48,6 +49,8 @@ Pattern | Meaning `$` | The end of a line `__` | Zero or more whitespace characters (including newlines) `_` | Zero or more whitespace characters (excluding newlines) +`|` | A word boundary (i.e. the left or right edge of a word) +`{foo}` | The literal string `foo` with word boundaries on both ends (shorthand for `|"foo"|`) `` `c `` | The literal character `c` `` `a-z `` | The character range `a` through `z` `` `a,b `` | The character `a` or the character `b` -- cgit v1.2.3