[Top][All Lists]

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: smiley regexp problem

From: Rajsekar
Subject: Re: smiley regexp problem
Date: Mon, 21 Mar 2005 02:53:19 +0530
User-agent: Gnus/5.110002 (No Gnus v0.2) Emacs/22.0.50 (gnu/linux)

Rajsekar <address@hidden> writes:

> I want to setup the smileys similar to gaim.
> So I put 
>         "\\(:)\\)\\W" for smile.
> and
>         "\\(:))\\)\\W" for laugh.
> The problem is that :)) also contains a :).  At the same time, i do not
> want to replace \W with something like [^)] because i lose the advantage of
> \W (which works based on the current syntax).  I want something like \\W
> minus the character `('.  Can someone tell me how to achieve this?

I see from theory that the needed language is still a regexp, yet i am not
able to express it in the language of regexp.  Is it a shortcoming in the 

    Rajsekar Manokaran
    IIT Madras

reply via email to

[Prev in Thread] Current Thread [Next in Thread]