-- Jani Averbach <jaa(a)cc.jyu.fi> spake thusly:
On Sat, 25 May 2002, Norbert Koch wrote:
>
> I guess, [:space:] is a character class (correct wording?) and I
> believe, XEmacs doesn't grok this. As an effect, the regexp matcher
> sees a set of single characters to match against.
>
Ouh, of cource, I have to keep a break
[[:space:]]
XEmacs won't grok that, either. The character class for space is "\s-".
Take a look at the info page "(xemacs)Regexps"; do:
C-h i g (xemacs)Regexps
and search on that page for "\sCODE". Note that \s- will pick up
newlines also, which is often not what you want. You can also do:
[ <tab>]
where <tab> is the tab key and not the text "<tab>". This should
catch
all whitespace other than newlines (ignoring things like
carriage-return, vertical-tab and form-feed, which aren't likely to be
in your code).