From a93220972f8130732c8cd0267c0b14db77ac19ea Mon Sep 17 00:00:00 2001 From: Bruce Hill Date: Tue, 11 May 2021 12:38:58 -0700 Subject: Overhaul of |-word boundaries (| is deprecated), performance improvements for repeating matches, tweaks to the logic of word vs. id --- README.md | 8 +------- 1 file changed, 1 insertion(+), 7 deletions(-) (limited to 'README.md') diff --git a/README.md b/README.md index f714f14..39f6b5c 100644 --- a/README.md +++ b/README.md @@ -49,8 +49,7 @@ 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"|`) +`{foo}` | The literal string `foo` with word boundaries on both ends `` `c `` | The literal character `c` `` `a-z `` | The character range `a` through `z` `` `a,b `` | The character `a` or the character `b` @@ -99,11 +98,6 @@ Name | Meaning `number` | An integer or floating point number `Hex` | A hexadecimal character `id` | An identifier -`|` | A word boundary -`^` | Start of a line -`^^` | Start of a file -`$` | End of a line -`$$` | End of a file As well as these common definitions, BP also comes with a set of language-specific or domain-specific grammars. These are not full language -- cgit v1.2.3