From ad93f50bf43214fc4ed6c44fdc8b87616e2a5603 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Marc=20Andr=C3=A9=20Tanner?= Date: Tue, 16 May 2017 22:13:59 +0200 Subject: 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 --- man/vis.1 | 5 +++++ 1 file changed, 5 insertions(+) (limited to 'man/vis.1') 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 -- cgit v1.2.3