From 699e7c8b9869fa9737a3c61ef9bcc599751fb88b Mon Sep 17 00:00:00 2001 From: Bruce Hill Date: Mon, 28 Sep 2020 17:56:02 -0700 Subject: Added != --- bpeg.1 | 8 ++++++++ 1 file changed, 8 insertions(+) (limited to 'bpeg.1') 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\fR and \fI\fR both match and have the exact same length. Pronounced \fI\fB-assuming-it-equals-\fI\fR +.B \fI\fB != \fI\fR +Will match only if \fI\fR matches, but \fI\fR doesn't also match with the +same length. Pronounced \fI\fB-unless-it-equals-\fI\fR + +.B \fI\fB != \fI\fR +Will match only if \fI\fR and \fI\fR don't both match and have the +exact same length. Pronounced \fI\fB-assuming-it-doesn't-equal-\fI\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). -- cgit v1.2.3