aboutsummaryrefslogtreecommitdiff
path: root/grammars
diff options
context:
space:
mode:
authorBruce Hill <bruce@bruce-hill.com>2022-05-02 18:01:45 -0400
committerBruce Hill <bruce@bruce-hill.com>2022-05-02 18:01:45 -0400
commit3944a36f14662dacdd3689224f031e48ae60ea0a (patch)
treeb24eee0c0dcfbaabce084a5ed5e430258e9a9808 /grammars
parentaf668004e85e99858df4a025af82c4602e0ab399 (diff)
Updated docs
Diffstat (limited to 'grammars')
-rw-r--r--grammars/bp.bp3
1 files changed, 2 insertions, 1 deletions
diff --git a/grammars/bp.bp b/grammars/bp.bp
index 68d1ec8..2782934 100644
--- a/grammars/bp.bp
+++ b/grammars/bp.bp
@@ -15,7 +15,7 @@ Def: @name=id __ `: __ (
String-pattern: ..%(\n / Nodent / Identifier-char / Identifier-start / Escape / `\ pat [`;])$$
pat: simple-pat !(__("!~"/"~")) / suffixed-pat
-simple-pat: (Upto-and / Dot / Word-boundary/ String / Chars / Nodent
+simple-pat: (Upto-and / Dot / Word-boundary/ String / Chars / Nodent / Curdent
/ Identifier-char / Identifier-start / Escape-range
/ Escape / Repeat / Optional / No / After / Before / Capture
/ Start-of-File / Start-of-Line / End-of-File / End-of-Line / Ref / parens)
@@ -48,6 +48,7 @@ escape-sequence: (
)
No: `! (__@pat / @error=(=>"Expected a pattern after the exclamation mark"))
Nodent: "\N"
+Curdent: "\C"
Word-boundary: `| / "\b"
Identifier-char: "\i"
Identifier-start: "\I"