From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!.POSTED!not-for-mail From: Eli Zaretskii Newsgroups: gmane.emacs.devel Subject: Re: regex.c simplification Date: Fri, 20 Jul 2018 09:58:12 +0300 Message-ID: <83wotq1ji3.fsf@gnu.org> References: <83fu1mzq09.fsf@gnu.org> <30e30c9d-1e0d-ea7d-2ef5-ae8622875449@cs.ucla.edu> <7cc7d274-ee6a-ab14-c78a-4fdba963578b@cs.ucla.edu> NNTP-Posting-Host: blaine.gmane.org X-Trace: blaine.gmane.org 1532069810 10620 195.159.176.226 (20 Jul 2018 06:56:50 GMT) X-Complaints-To: usenet@blaine.gmane.org NNTP-Posting-Date: Fri, 20 Jul 2018 06:56:50 +0000 (UTC) Cc: monnier@iro.umontreal.ca, emacs-devel@gnu.org To: Paul Eggert Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Fri Jul 20 08:56:46 2018 Return-path: Envelope-to: ged-emacs-devel@m.gmane.org Original-Received: from lists.gnu.org ([208.118.235.17]) by blaine.gmane.org with esmtp (Exim 4.84_2) (envelope-from ) id 1fgPLK-0002eC-9v for ged-emacs-devel@m.gmane.org; Fri, 20 Jul 2018 08:56:46 +0200 Original-Received: from localhost ([::1]:46705 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1fgPNR-0003do-80 for ged-emacs-devel@m.gmane.org; Fri, 20 Jul 2018 02:58:57 -0400 Original-Received: from eggs.gnu.org ([2001:4830:134:3::10]:50786) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1fgPMn-0003dj-Dj for emacs-devel@gnu.org; Fri, 20 Jul 2018 02:58:18 -0400 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1fgPMj-0000Pf-HL for emacs-devel@gnu.org; Fri, 20 Jul 2018 02:58:17 -0400 Original-Received: from fencepost.gnu.org ([2001:4830:134:3::e]:42205) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1fgPMj-0000PZ-Ca; Fri, 20 Jul 2018 02:58:13 -0400 Original-Received: from [176.228.60.248] (port=2319 helo=home-c4e4a596f7) by fencepost.gnu.org with esmtpsa (TLS1.2:RSA_AES_256_CBC_SHA1:256) (Exim 4.82) (envelope-from ) id 1fgPMi-0005fC-8T; Fri, 20 Jul 2018 02:58:13 -0400 In-reply-to: <7cc7d274-ee6a-ab14-c78a-4fdba963578b@cs.ucla.edu> (message from Paul Eggert on Thu, 19 Jul 2018 17:59:12 -0700) X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.2.x-3.x [generic] X-Received-From: 2001:4830:134:3::e X-BeenThere: emacs-devel@gnu.org X-Mailman-Version: 2.1.21 Precedence: list List-Id: "Emacs development discussions." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Original-Sender: "Emacs-devel" Xref: news.gmane.org gmane.emacs.devel:227570 Archived-At: > From: Paul Eggert > Date: Thu, 19 Jul 2018 17:59:12 -0700 > > No, etags uses the regexp code only for --regex arguments. It would of course be > simpler to disable --regex on platforms lacking the glibc regex API. However, my > impression is that etags --regex gets some use. For example: > > https://stackoverflow.com/questions/21283687/what-do-you-put-in-your-standard-etags-regex-calls > http://xahlee.info/comp/ctags_etags_gtags.html We actually use the --regex switch in our own Makefile, for the TAGS target, see src/Makefile.in.