From b02dec19a505c406a21c4ec78d41573e29e45ad0 Mon Sep 17 00:00:00 2001 From: dkf Date: Fri, 21 May 2004 23:49:30 +0000 Subject: Typo! --- doc/regexp.n | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/doc/regexp.n b/doc/regexp.n index 1d88b99..79d764b 100644 --- a/doc/regexp.n +++ b/doc/regexp.n @@ -4,7 +4,7 @@ '\" See the file "license.terms" for information on usage and redistribution '\" of this file, and for a DISCLAIMER OF ALL WARRANTIES. '\" -'\" RCS: @(#) $Id: regexp.n,v 1.13 2004/05/21 23:47:48 dkf Exp $ +'\" RCS: @(#) $Id: regexp.n,v 1.14 2004/05/21 23:49:30 dkf Exp $ '\" .so man.macros .TH regexp n 8.3 Tcl "Tcl Built-In Commands" @@ -131,7 +131,7 @@ Find the first occurrence of a word starting with \fBfoo\fR in a string that is not actually an instance of \fBfoobar\fR, and get the letters following it up to the end of the word into a variable: .CS -regexp {\\)(\w*)} $string -> restOfWord +regexp {\\)(\\w*)} $string -> restOfWord .CE Note that the whole matched substring has been placed in the variable \fB\->\fR which is a name chosen to look nice given that we are not -- cgit v0.12