Hi Troy,

I don't understand your regex. I think the following should work fine:

$message =~ s/(;-\)|;\))/<img src=$cfg{'nonCgiPath'}\/wink.gif\>/g;

Regards,
--Ahmed
[EMAIL PROTECTED] | http://www.photo.net/users/ahmed


Troy May wrote:

> Hello,
> 
> I'm having a problem with a bulletin board I'm setting up.  All the smilies
> work except for one, the wink one.  which be called when you type in ";)".
> It won't display the graphic.  All the others are fine so I know's it not a
> config or directory problem.  Here's the regex that looks for it:
> 
> $message =~ s/(\W|\A)\;\-\)/$1\<img src=$cfg{'nonCgiPath'}\/wink.gif\>/g;
> 
> Am I missing something here?
> 
> Thanks in advance.


-- 
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to