From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Michael Albinus Newsgroups: gmane.emacs.help Subject: Re: cleaning up a big regexp Date: Mon, 15 Sep 2014 16:11:10 +0200 Message-ID: <87tx49dldt.fsf@gmx.de> References: <87iokpf6v8.fsf@gmx.de> <87a961ulzf.fsf@gmail.com> NNTP-Posting-Host: plane.gmane.org Mime-Version: 1.0 Content-Type: text/plain X-Trace: ger.gmane.org 1410790328 25992 80.91.229.3 (15 Sep 2014 14:12:08 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Mon, 15 Sep 2014 14:12:08 +0000 (UTC) Cc: help-gnu-emacs@gnu.org To: Stefan Monnier Original-X-From: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Mon Sep 15 16:11:57 2014 Return-path: Envelope-to: geh-help-gnu-emacs@m.gmane.org Original-Received: from lists.gnu.org ([208.118.235.17]) by plane.gmane.org with esmtp (Exim 4.69) (envelope-from ) id 1XTX0O-00012x-4w for geh-help-gnu-emacs@m.gmane.org; Mon, 15 Sep 2014 16:11:48 +0200 Original-Received: from localhost ([::1]:59968 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1XTX0N-0008Hd-Ma for geh-help-gnu-emacs@m.gmane.org; Mon, 15 Sep 2014 10:11:47 -0400 Original-Received: from eggs.gnu.org ([2001:4830:134:3::10]:39000) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1XTX04-0008DY-Rh for help-gnu-emacs@gnu.org; Mon, 15 Sep 2014 10:11:36 -0400 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1XTWzw-000718-E2 for help-gnu-emacs@gnu.org; Mon, 15 Sep 2014 10:11:28 -0400 Original-Received: from mout.gmx.net ([212.227.15.18]:65431) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1XTWzw-000713-4o for help-gnu-emacs@gnu.org; Mon, 15 Sep 2014 10:11:20 -0400 Original-Received: from detlef.gmx.de ([93.202.51.203]) by mail.gmx.com (mrgmx002) with ESMTPSA (Nemesis) id 0Ldq55-1YB4tQ0iOZ-00j4dK; Mon, 15 Sep 2014 16:11:19 +0200 In-Reply-To: (Stefan Monnier's message of "Mon, 15 Sep 2014 08:36:06 -0400") User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/24.4.50 (gnu/linux) X-Provags-ID: V03:K0:rfvZP5DK73fst0axdDiIjqW4P5LtDUxs1WGwQOaFH4tY8cdVTXV pYMQ/FM4//ekVLLO9pNj4Y1pwX+Oxwghw+ovrXd+hLhOpMF/h7P6q6oR/71TfG93MEKaI9A jJWNbeqbgv6nuBmPW66pT6yJkkzRfSpMGbABNNTbtV6zdwmXlAhkPsn6b2CPTGfvWWS6ecY 2As8lDw5tLm+4DhA9JaUg== X-UI-Out-Filterresults: notjunk:1; X-detected-operating-system: by eggs.gnu.org: GNU/Linux 3.x [generic] X-Received-From: 212.227.15.18 X-BeenThere: help-gnu-emacs@gnu.org X-Mailman-Version: 2.1.14 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-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Xref: news.gmane.org gmane.emacs.help:99925 Archived-At: Stefan Monnier writes: >> (mapconcat `regexp-quote my-gnus-bulk-from-address-list "\\|")) > > A.k.a (regexp-opt my-gnus-bulk-from-address-list) Not when the strings contain meta characters like "*". I repeat it again and again, because I've entered this trap very recently. See commit trunk r117880, where I refuse to tell that I have been an idiot. > -- Stefan Best regards, Michael.