zsh-workers
 help / color / mirror / code / Atom feed
* PATCH: zsh/pcre module docs
@ 2001-07-03 16:51 Clint Adams
  2001-07-03 17:03 ` Bart Schaefer
  0 siblings, 1 reply; 3+ messages in thread
From: Clint Adams @ 2001-07-03 16:51 UTC (permalink / raw)
  To: zsh-workers

This describes the behavior introduced by 15228.
Perhaps there should be a switch to disable
the clobbering of pparams, though I don't believe
perl has a similar feature.

Index: Doc/Zsh/mod_pcre.yo
===================================================================
RCS file: /cvsroot/zsh/zsh/Doc/Zsh/mod_pcre.yo,v
retrieving revision 1.1
diff -u -r1.1 mod_pcre.yo
--- Doc/Zsh/mod_pcre.yo	2001/07/02 19:39:35	1.1
+++ Doc/Zsh/mod_pcre.yo	2001/07/03 16:48:15
@@ -18,5 +18,9 @@
 item(tt(pcre_match) var(string))(
 Returns successfully if tt(string) matches the previously-compiled
 PCRE.
+
+If the expression captures substrings within parentheses,
+tt(pcre_match) will set the positional parameters to
+those substrings, starting with $1 for the first.
 )
 enditem()


^ permalink raw reply	[flat|nested] 3+ messages in thread

end of thread, other threads:[~2001-07-03 17:32 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2001-07-03 16:51 PATCH: zsh/pcre module docs Clint Adams
2001-07-03 17:03 ` Bart Schaefer
2001-07-03 17:32   ` Clint Adams

Code repositories for project(s) associated with this public inbox

	https://git.vuxu.org/mirror/zsh/

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).