aboutsummaryrefslogtreecommitdiff
path: root/man/vis.1
diff options
context:
space:
mode:
authorMarc André Tanner <mat@brain-dump.org>2017-05-16 22:13:59 +0200
committerMarc André Tanner <mat@brain-dump.org>2017-05-17 10:07:01 +0200
commitad93f50bf43214fc4ed6c44fdc8b87616e2a5603 (patch)
tree9babc7dde938b2f90e911bcebee673bd64700689 /man/vis.1
parent0510986c352b54083d3fb0b960b211930db649c0 (diff)
downloadvis-ad93f50bf43214fc4ed6c44fdc8b87616e2a5603.tar.gz
vis-ad93f50bf43214fc4ed6c44fdc8b87616e2a5603.tar.xz
man: mention regex anchor behavior
In vis ^ and $ always match the beginning / end of the range which they are applied to. This differs from sam where they only match at the beginning / end of a line. Close #554
Diffstat (limited to 'man/vis.1')
-rw-r--r--man/vis.15
1 files changed, 5 insertions, 0 deletions
diff --git a/man/vis.1 b/man/vis.1
index 26b4c22..ce32178 100644
--- a/man/vis.1
+++ b/man/vis.1
@@ -225,6 +225,11 @@ It uses what POSIX refers to as
.Dq Extended Regular Expressions
as described in
.Xr regex 7 .
+The anchors
+.Ic ^
+and
+.Ic $
+match the beginning / end of the range they are applied to.
Additionally
.Li \[rs]n
and