aboutsummaryrefslogtreecommitdiff
path: root/bp.1.md
diff options
context:
space:
mode:
authorBruce Hill <bruce@bruce-hill.com>2022-05-14 15:18:54 -0400
committerBruce Hill <bruce@bruce-hill.com>2022-05-14 15:18:54 -0400
commit2988080c3277bddfa2a2c4ec7768e748e2d8c20b (patch)
tree53cf926f0a0ddeee977c9b443cf943e7f095f3db /bp.1.md
parentd62fd1eb968cebe75acdbcc43ccd33b24d6f163d (diff)
Added :tag
Diffstat (limited to 'bp.1.md')
-rw-r--r--bp.1.md8
1 files changed, 5 insertions, 3 deletions
diff --git a/bp.1.md b/bp.1.md
index 9473d24..986f94a 100644
--- a/bp.1.md
+++ b/bp.1.md
@@ -291,10 +291,12 @@ contain the word **"IGNORE"**)
*name*`:` *pat*
: Define *name* to mean *pat* (pattern definition)
+`:`*name* *pat*
+: Match *pat* and tag it with the given name as metadata.
+
*name*`::` *pat*
-: Define *name* to be a special tagged pattern *pat*. This is the same as a
-regular definition, except that a piece of metadata is attached to it
-associating it with the specified name.
+: Syntactic sugar for *name*`::` `:`*name* *pat* (define a pattern that also
+attaches a metadata tag of the same name)
`#` *comment*
: A line comment