Re: [tclwebtest] Little problem with regex substitution
Status: Abandoned
Brought to you by:
tils
From: Grzegorz A. H. <gr...@ef...> - 2003-01-30 14:47:15
|
On Wed, Jan 29, 2003 at 07:15:55PM +0000, Tilmann Singer wrote: > * Grzegorz Adam Hankiewicz <gr...@ef...> [20030129 18:26]: > > I'm having a little regex problem: > > > > link find "so\[:alpha:\].*s" > > The same rules as for tcl regexps as well: try to enclose in { } to > save [ ] etc. from the tcl interpreter. And in this particular case I > think you need to write {so[[:alpha:]].*s}. See 'man re_syntax'. Right. I was later trying {"so[[:alpha:]].*s"} but didn't notice the double quotes. "so\[\[:alpha:\]\].*s" works too, but it's not very readable. |