in reply to regex subst not DWIM

Well for starters, i think there is a bug in the substitution for $params. I think you wanted [^\)]*


-pete
"Worry is like a rocking chair. It gives you something to do, but it doesn't get you anywhere."

Replies are listed 'Best First'.
Re^2: regex subst not DWIM
by girarde (Hermit) on Dec 19, 2007 at 22:20 UTC
    Thanks! .*\(([^\)]*)\).* worked (needed the last bit to lose the brace at the end of the line).