aboutsummaryrefslogtreecommitdiff
path: root/bpeg.1
diff options
context:
space:
mode:
authorBruce Hill <bruce@bruce-hill.com>2020-09-28 17:56:02 -0700
committerBruce Hill <bruce@bruce-hill.com>2020-09-28 17:56:02 -0700
commit699e7c8b9869fa9737a3c61ef9bcc599751fb88b (patch)
tree13eb334ce0eb76c2a31bb2817ec86cbd45b81b81 /bpeg.1
parent544a88e9d4faa3f7e34316daaa01d2fa14d1d9f6 (diff)
Added !=
Diffstat (limited to 'bpeg.1')
-rw-r--r--bpeg.18
1 files changed, 8 insertions, 0 deletions
diff --git a/bpeg.1 b/bpeg.1
index 26b2a64..833be35 100644
--- a/bpeg.1
+++ b/bpeg.1
@@ -154,6 +154,14 @@ be a string, and it may contain references to captured values: \fB@0\fR
Will match only if \fI<pat1>\fR and \fI<pat2>\fR both match and have the exact
same length. Pronounced \fI<pat1>\fB-assuming-it-equals-\fI<pat2>\fR
+.B \fI<pat1>\fB != \fI<pat2>\fR
+Will match only if \fI<pat1>\fR matches, but \fI<pat2>\fR doesn't also match with the
+same length. Pronounced \fI<pat1>\fB-unless-it-equals-\fI<pat2>\fR
+
+.B \fI<pat1>\fB != \fI<pat2>\fR
+Will match only if \fI<pat1>\fR and \fI<pat2>\fR don't both match and have the
+exact same length. Pronounced \fI<pat1>\fB-assuming-it-doesn't-equal-\fI<pat2>\fR
+
.B |
This pattern matches the indentation at the beginning of a line that has the
same indentation as the line before (or zero indentation on the first line).