From 071dae8b6846107ec60d1e75778e206e538907ca Mon Sep 17 00:00:00 2001 From: Joe Bloggs Date: Wed, 26 Mar 2014 19:09:12 +0000 Subject: [PATCH] update --- zsh-completions-howto.org | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/zsh-completions-howto.org b/zsh-completions-howto.org index 25f22aa..474f4d2 100644 --- a/zsh-completions-howto.org +++ b/zsh-completions-howto.org @@ -246,8 +246,8 @@ _regex_arguments SEQ1 '|' SEQ2 \( SEQ2a '|' SEQ2b \) #+END_SRC this specifies a command line matching either SEQ1, or SEQ2 followed by SEQ2a or SEQ2b. -A specification in a sequence can take the form: \/PATTERN\/ ':TAG:DESCR:ACTION' -The ':TAG:DESCR:ACTION' part is the same as for the _alternative function (see above), and specifies how to complete +A specification in a sequence can take the form: ~/PATTERN/ ':TAG:DESCR:ACTION'~ +The ~':TAG:DESCR:ACTION'~ part is the same as for the _alternative function (see above), and specifies how to complete the word on the command line corresponding to that position. The PATTERN is a regular expression to match the word after it has been completed. The start of the command line matching PATTERN is then removed before moving on to the next specification (which will