From: Vince Darley (vince@SANTAFE.EDU)
Date: 29 Feb 00, 03:21 EST
From: Vince Darley <vince@SANTAFE.EDU> Subject: Re: \s whitespace shorthand It is defined in the 'Regular Expressions' help file. Alpha 6.x/7.x uses rather primitive regular expressions, to which Pete added support for some more advanced features. Alpha 8 uses Tcl 8.3's regular expression engine (*); if you go to www.scriptics.com you'll be able to find (eventually) the man page for those regexp's --- they're much better! Mostly the new regexps will be a superset of the old ones, but a few features have changed name (e.g. \b for wordbreak). -- Vince <http://www.santafe.edu/~vince> (*) For unfortunate technical reasons, regexp/regsub will use the new Tcl8.3 engine, but 'search -r' will use the old one. Eventually the old one will be phased out completely. On Sat, 26 Feb 2000, Andreas Fischlin wrote: > Tom Fetherston told me (thanks) \s stands for a shorthand for whitespace > (space tab return linefeed vertical tab ...?), e.g. usable in regexp. > However, \s is not described in "Tcl Commands". Anyone knows where \s is > defined? Will it be supported under Tcl 8? > > Andreas > > Andreas Fischlin, Ph.D., Group Director Systems Ecology ETHZ > Institute of Terrestrial Ecology, Department of Environmental Sciences > Swiss Federal Institute of Technology Zurich ETHZ > Grabenstrasse 3, CH-8952 Schlieren/Zurich, SWITZERLAND > http://www.ito.umnw.ethz.ch/SysEcol/People/Fischlin_Andreas.html > Phone: +41(1)633-6090 / Fax: +41(1)633-1123 > http://www.ito.umnw.ethz.ch/SysEcol > > _/_/_/ _/_/_/ _/ _/ > _/ _/ _/ _/ Eidgenoessische Technische Hochschule Zuerich > _/_/_/ _/ _/_/_/ Swiss Federal Institute of Technologie Zurich > _/ _/ _/ _/ Ecole polytechnique federale de Zurich > _/_/_/ _/ _/ _/ Politecnico federale de Zurigo > > _____________ Make it as simple as possible, but distrust it! ____________ >