diff options
| author | Bruce Hill <bruce@bruce-hill.com> | 2022-05-14 22:43:13 -0400 |
|---|---|---|
| committer | Bruce Hill <bruce@bruce-hill.com> | 2022-05-14 22:43:13 -0400 |
| commit | 23c64e386c7ea1d0054c37f945a6467dccdf2980 (patch) | |
| tree | da7b8d914f999f19188a1cda15d0cf43b5d8570a /bp.1 | |
| parent | 5fd2f6b8c594c6cbc1313efbcc28b53c15ba85d5 (diff) | |
Changed how tags work, changed Lua API for handling match captures
Diffstat (limited to 'bp.1')
| -rw-r--r-- | bp.1 | 8 |
1 files changed, 4 insertions, 4 deletions
@@ -355,13 +355,13 @@ not contain the word \f[B]\[lq]IGNORE\[rq]\f[R]) \f[I]name\f[R]\f[B]:\f[R] \f[I]pat\f[R] Define \f[I]name\f[R] to mean \f[I]pat\f[R] (pattern definition) .TP -\f[B]:\f[R]\f[I]name\f[R] \f[I]pat\f[R] +\f[B]\[at]:\f[R]\f[I]name\f[R] \f[B]=\f[R] \f[I]pat\f[R] Match \f[I]pat\f[R] and tag it with the given name as metadata. .TP \f[I]name\f[R]\f[B]::\f[R] \f[I]pat\f[R] -Syntactic sugar for \f[I]name\f[R]\f[B]::\f[R] \f[B]:\f[R]\f[I]name\f[R] -\f[I]pat\f[R] (define a pattern that also attaches a metadata tag of the -same name) +Syntactic sugar for \f[I]name\f[R]\f[B]:\f[R] +\f[B]\[at]:\f[R]\f[I]name\f[R]\f[B]=\f[R]\f[I]pat\f[R] (define a pattern +that also attaches a metadata tag of the same name) .TP \f[B]#\f[R] \f[I]comment\f[R] A line comment |
