aboutsummaryrefslogtreecommitdiff
path: root/man
diff options
context:
space:
mode:
authorThomas Voss <mail@thomasvoss.com> 2024-01-23 02:23:12 +0100
committerThomas Voss <mail@thomasvoss.com> 2024-01-23 02:24:33 +0100
commitde858f60d1cbe45cd24f7b65a89f79a2e86acf08 (patch)
treed2c10d2a4403ec9a7191432d37bc954af477692b /man
parente7f82626820f8a655a4015671185aefad037e78e (diff)
Disallow h// at the start of patterns
Diffstat (limited to 'man')
-rw-r--r--man/grab.14
1 files changed, 4 insertions, 0 deletions
diff --git a/man/grab.1 b/man/grab.1
index 3521b9f..ab24337 100644
--- a/man/grab.1
+++ b/man/grab.1
@@ -234,6 +234,10 @@ letter,
and highlights the capital letter(s):
.Pp
.Dl x/\ew+/ g/[A\-Z]/ h//
+.Pp
+The empty
+.Sq h
+operator is not permitted as the first operator in a pattern.
.Sh ENVIRONMENT
.Bl -tag -width GRAB_COLORS
.It Ev GRAB_COLORS