[Top][All Lists]

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

Re: smiley regexp problem

From: Stefan Monnier
Subject: Re: smiley regexp problem
Date: Mon, 21 Mar 2005 08:49:17 -0500
User-agent: Gnus/5.11 (Gnus v5.11) Emacs/22.0.50 (gnu/linux)

> The point is about \\W.  \\W matches any character that is not a
> word-constituent.  I want `:-)' to become a smile if it is followed by any
> of `\\W' but not ')'.  If I put it as "\\(:-?)\\)[^)]", then even strings
> like "smile_within:-)strings" also get smileys.  So I am looking for a way
> to specify "characters in \\W but no ')' in the language of regexps".



reply via email to

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