From 2762c687ab088807d7313902077458c959489b02 Mon Sep 17 00:00:00 2001 From: Joe Bloggs Date: Wed, 26 Mar 2014 19:10:08 +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 474f4d2..f071153 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