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 --- Doc/Zsh/contrib.yo | 2 ++ 1 file changed, 2 insertions(+) (limited to 'Doc/Zsh') 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