From 12575014995582b30165d80efa1096eee7622a81 Mon Sep 17 00:00:00 2001 From: nicm Date: Mon, 29 May 2017 15:43:48 +0000 Subject: Add m: for fnmatch(3) format matching. --- tmux.1 | 7 +++++++ 1 file changed, 7 insertions(+) (limited to 'tmux.1') diff --git a/tmux.1 b/tmux.1 index 41f6057c..1ba66da4 100644 --- a/tmux.1 +++ b/tmux.1 @@ -3444,6 +3444,13 @@ if running on .Ql myhost , otherwise by .Ql 0. +An +.Ql m +specifies a +.Xr fnmatch 3 +comparison - the first argument is the pattern and the second the string to +compare. For example, +.Ql #{m:*foo*,#{host}} . .Pp A limit may be placed on the length of the resultant string by prefixing it by an -- cgit