help-gnu-emacs
[Top][All Lists]
Advanced

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

Re: what means "\\s-" used as a regexp?


From: stefano . sabatini-lala
Subject: Re: what means "\\s-" used as a regexp?
Date: 5 Aug 2006 06:33:26 -0700
User-agent: G2/0.2

Eli Zaretskii ha scritto:

> > From: stefano.sabatini-lala@poste.it
> > Date: 5 Aug 2006 04:38:51 -0700
> >
> > I recently found in some code the use of "\\s-". Documentation
> > appearantly said nothing on it.
>
> It does on my system:
>
>     `\sC'
>        matches any character whose syntax is C.  Here C is a character
>        that designates a particular syntax class: thus, `w' for word
>        constituent, `-' or ` ' for whitespace, `.' for ordinary
>        punctuation, etc.  *Note Syntax::.

Thank you all!

My *info* buffer was opened on that very page, but for some mysterious
reasons I missed that explanation...



reply via email to

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