From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!.POSTED.blaine.gmane.org!not-for-mail From: Janne Nykopp Newsgroups: gmane.emacs.help Subject: Regexp search: syntax class for comment starter (\s<) does not work consistently in all modes Date: Fri, 27 Sep 2019 23:22:11 +0300 Message-ID: <20190927202211.3onie75t3ydknsmb@peruna.fi> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Injection-Info: blaine.gmane.org; posting-host="blaine.gmane.org:195.159.176.226"; logging-data="175983"; mail-complaints-to="usenet@blaine.gmane.org" User-Agent: NeoMutt/20170113 (1.7.2) To: help-gnu-emacs@gnu.org Original-X-From: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Fri Sep 27 22:22:39 2019 Return-path: Envelope-to: geh-help-gnu-emacs@m.gmane.org Original-Received: from lists.gnu.org ([209.51.188.17]) by blaine.gmane.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.89) (envelope-from ) id 1iDwlC-000jdy-Kd for geh-help-gnu-emacs@m.gmane.org; Fri, 27 Sep 2019 22:22:38 +0200 Original-Received: from localhost ([::1]:57270 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1iDwlB-0002GA-6o for geh-help-gnu-emacs@m.gmane.org; Fri, 27 Sep 2019 16:22:37 -0400 Original-Received: from eggs.gnu.org ([2001:470:142:3::10]:51911) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1iDwks-0002E9-5x for help-gnu-emacs@gnu.org; Fri, 27 Sep 2019 16:22:19 -0400 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1iDwkr-0000fe-4g for help-gnu-emacs@gnu.org; Fri, 27 Sep 2019 16:22:17 -0400 Original-Received: from peruna.fi ([2a04:3540:1000:310:a8aa:aaff:feaa:396c]:38760) by eggs.gnu.org with esmtps (TLS1.0:DHE_RSA_AES_256_CBC_SHA1:32) (Exim 4.71) (envelope-from ) id 1iDwkq-0000eL-UF for help-gnu-emacs@gnu.org; Fri, 27 Sep 2019 16:22:17 -0400 Original-Received: by peruna.fi (Postfix, from userid 1007) id CA2A2644; Fri, 27 Sep 2019 23:22:11 +0300 (EEST) Content-Disposition: inline X-detected-operating-system: by eggs.gnu.org: Genre and OS details not recognized. X-Received-From: 2a04:3540:1000:310:a8aa:aaff:feaa:396c X-BeenThere: help-gnu-emacs@gnu.org X-Mailman-Version: 2.1.23 Precedence: list List-Id: Users list for the GNU Emacs text editor List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Original-Sender: "help-gnu-emacs" Xref: news.gmane.org gmane.emacs.help:121574 Archived-At: Hello! Seems that regexp search for comment starter syntax class, \s<, doesn't work out of the box in C, C++, Java, javascript (neither for // or /* comment styles), or pascal ((*), ada or sql (--) modes, for instance. It does work out of the box in e.g. lisp (;) - but not for the two-character comment delimiter (#|), sh (#), fortran (C and !), postscript ps-mode (%), DOS batch bat-mode (:: and REM), HTML mode (