aboutsummaryrefslogtreecommitdiff
path: root/README.md
diff options
context:
space:
mode:
authorBruce Hill <bruce@bruce-hill.com>2021-05-10 23:49:17 -0700
committerBruce Hill <bruce@bruce-hill.com>2021-05-10 23:49:17 -0700
commite6aafbc1ac9bb88ac062b7ab359b6f15c322c3cd (patch)
treec9ffc0f9e7a5615efa04d67a2f89218e35043db7 /README.md
parent17dbe5d9e8fcbe2c5f2f494658868b28857a25ca (diff)
Updated readme
Diffstat (limited to 'README.md')
-rw-r--r--README.md3
1 files changed, 3 insertions, 0 deletions
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`