aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorBruce Hill <bruce@bruce-hill.com>2020-09-28 16:36:26 -0700
committerBruce Hill <bruce@bruce-hill.com>2020-09-28 16:36:26 -0700
commite141e9e2f2b70e1cc447fd25719d6546fd7cfaeb (patch)
tree9aad49d3e34ed21db01f1a9d5494062025b845c7
parent907101b42159c3d2a8ee74540fb8e9259b36db7e (diff)
Updated docs for comments
-rw-r--r--bpeg.15
1 files changed, 4 insertions, 1 deletions
diff --git a/bpeg.1 b/bpeg.1
index 3d2b29e..3948b10 100644
--- a/bpeg.1
+++ b/bpeg.1
@@ -149,8 +149,11 @@ same length. Pronounced \fI<pat1>\fB-assuming-it-equals-\fI<pat2>\fR
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).
+.B #( \fI<comment>\fR )#
+A block comment (can be nested)
+
.B # \fI<comment>\fR
-A comment
+A line comment
.SH STRING PATTERNS
One of the most common use cases for pattern matching tools is matching plain,