From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Eli Zaretskii Newsgroups: gmane.emacs.help Subject: Re: what means "\\s-" used as a regexp? Date: Sat, 05 Aug 2006 15:19:14 +0300 Message-ID: References: <1154777931.859949.46540@m79g2000cwm.googlegroups.com> NNTP-Posting-Host: main.gmane.org X-Trace: sea.gmane.org 1154780377 18730 80.91.229.2 (5 Aug 2006 12:19:37 GMT) X-Complaints-To: usenet@sea.gmane.org NNTP-Posting-Date: Sat, 5 Aug 2006 12:19:37 +0000 (UTC) Original-X-From: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Sat Aug 05 14:19:35 2006 Return-path: Envelope-to: geh-help-gnu-emacs@m.gmane.org Original-Received: from lists.gnu.org ([199.232.76.165]) by ciao.gmane.org with esmtp (Exim 4.43) id 1G9L7t-0003MN-Dc for geh-help-gnu-emacs@m.gmane.org; Sat, 05 Aug 2006 14:19:33 +0200 Original-Received: from localhost ([127.0.0.1] helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1G9L7s-00086I-Ro for geh-help-gnu-emacs@m.gmane.org; Sat, 05 Aug 2006 08:19:32 -0400 Original-Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1G9L7e-00085e-Jv for help-gnu-emacs@gnu.org; Sat, 05 Aug 2006 08:19:18 -0400 Original-Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1G9L7c-00083X-LD for help-gnu-emacs@gnu.org; Sat, 05 Aug 2006 08:19:17 -0400 Original-Received: from [199.232.76.173] (helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1G9L7c-00083T-8B for help-gnu-emacs@gnu.org; Sat, 05 Aug 2006 08:19:16 -0400 Original-Received: from [192.114.186.73] (helo=heller.inter.net.il) by monty-python.gnu.org with esmtp (Exim 4.52) id 1G9LBO-0005VU-Nv for help-gnu-emacs@gnu.org; Sat, 05 Aug 2006 08:23:10 -0400 Original-Received: from HOME-C4E4A596F7 (IGLD-80-230-209-150.inter.net.il [80.230.209.150]) by heller.inter.net.il (MOS 3.7.3a-GA) with ESMTP id ADX26226 (AUTH halo1); Sat, 5 Aug 2006 15:19:13 +0300 (IDT) Original-To: help-gnu-emacs@gnu.org In-reply-to: <1154777931.859949.46540@m79g2000cwm.googlegroups.com> (stefano.sabatini-lala@poste.it) X-BeenThere: help-gnu-emacs@gnu.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Users list for the GNU Emacs text editor List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Original-Sender: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Errors-To: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Xref: news.gmane.org gmane.emacs.help:36519 Archived-At: > 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::. > So it seems "\\s-" match only the space. Yes.