another question about regsub...

Old posts that have not been replied to for several years.
Locked
G
Guest

Post by Guest »

when i do:
regsub -all p1ng? $arg p0ng! out
it works..
but when i do:
regsub -all :) $arg :))) out
i get: "couldn't compile regular expression pattern: parentheses () not balanced"

i tried ":)", ":)".. but it doesn't help.

can anybody tell me how to make it work? :)

<font size=-1>[ This Message was edited by: abn0rmal on 2001-10-12 16:31 ]</font>
User avatar
stdragon
Owner
Posts: 959
Joined: Sun Sep 23, 2001 8:00 pm
Contact:

Post by stdragon »

Try {:)} instead of ":)"
G
Guest

Post by Guest »

thanx, that works :smile:
Locked