LENNART BORGMAN <[EMAIL PROTECTED]> writes: > > Maybe you could add a complemented character set to the first one after the > smile (with whatever slashes there are needed to get this to work): [^)]
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". -- Rajsekar Manokaran IIT Madras _______________________________________________ Emacs-devel mailing list Emacs-devel@gnu.org http://lists.gnu.org/mailman/listinfo/emacs-devel