From 35b74bc0b98786e5c3037ccc97a9ae5aad0d2eeb Mon Sep 17 00:00:00 2001 From: Peter Stephenson Date: Tue, 2 Feb 2010 14:56:39 +0000 Subject: unposted: minor doc tweak for regexp-replace --- ChangeLog | 5 ++++- Doc/Zsh/contrib.yo | 2 ++ 2 files changed, 6 insertions(+), 1 deletion(-) diff --git a/ChangeLog b/ChangeLog index 53690b5e3..e756f56e7 100644 --- a/ChangeLog +++ b/ChangeLog @@ -1,5 +1,8 @@ 2010-02-02 Peter Stephenson + * unposted: Doc/Zsh/contrib.yo: minor doc upgrade for + regexp-replace. + * based on Andrei, 27644: Config/installfns.zsh: check for #! line without a fork. @@ -12662,5 +12665,5 @@ ***************************************************** * This is used by the shell to define $ZSH_PATCHLEVEL -* $Revision: 1.4878 $ +* $Revision: 1.4879 $ ***************************************************** diff --git a/Doc/Zsh/contrib.yo b/Doc/Zsh/contrib.yo index 54dbd74dc..b815e0112 100644 --- a/Doc/Zsh/contrib.yo +++ b/Doc/Zsh/contrib.yo @@ -2598,6 +2598,8 @@ var(regexp) is the regular expression to match against the string. var(replace) is the replacement text. This can contain parameter, command and arithmetic expressions which will be replaced: in particular, a reference to tt($MATCH) will be replaced by the text matched by the pattern. + +The return status is 0 if at least one match was performed, else 1. ) findex(run-help) item(tt(run-help) var(cmd))( -- cgit 1.4.1