This is the new home of the egghelp.org community forum.
All data has been migrated (including user logins/passwords) to a new phpBB version.


For more information, see this announcement post. Click the X in the top right-corner of this box to dismiss this message.

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