aboutsummaryrefslogtreecommitdiffstats
path: root/man7/regex.7
diff options
context:
space:
mode:
Diffstat (limited to 'man7/regex.7')
-rw-r--r--man7/regex.72
1 files changed, 1 insertions, 1 deletions
diff --git a/man7/regex.7 b/man7/regex.7
index 0167e7bc06..06ec74b315 100644
--- a/man7/regex.7
+++ b/man7/regex.7
@@ -104,7 +104,7 @@ it matches any single character
If two characters in the list are separated by `\-', this is shorthand
for the full \fIrange\fR of characters between those two (inclusive) in the
collating sequence,
-e.g. `[0-9]' in ASCII matches any decimal digit.
+e.g. `[0\-9]' in ASCII matches any decimal digit.
It is illegal\*(dg for two ranges to share an
endpoint, e.g. `a-c-e'.
Ranges are very collating-sequence-dependent,