From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Stefan Monnier Newsgroups: gmane.emacs.help Subject: Re: cleaning up a big regexp Date: Mon, 15 Sep 2014 15:00:26 -0400 Message-ID: References: <87iokpf6v8.fsf@gmx.de> <87a961ulzf.fsf@gmail.com> <87tx49dldt.fsf@gmx.de> NNTP-Posting-Host: plane.gmane.org Mime-Version: 1.0 Content-Type: text/plain X-Trace: ger.gmane.org 1410807699 7117 80.91.229.3 (15 Sep 2014 19:01:39 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Mon, 15 Sep 2014 19:01:39 +0000 (UTC) Cc: help-gnu-emacs@gnu.org To: Michael Albinus Original-X-From: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Mon Sep 15 21:01:32 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 1XTbWh-0006Ym-8u for geh-help-gnu-emacs@m.gmane.org; Mon, 15 Sep 2014 21:01:27 +0200 Original-Received: from localhost ([::1]:33550 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1XTbWg-0008EE-UD for geh-help-gnu-emacs@m.gmane.org; Mon, 15 Sep 2014 15:01:26 -0400 Original-Received: from eggs.gnu.org ([2001:4830:134:3::10]:53213) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1XTbWO-0008Ds-NQ for help-gnu-emacs@gnu.org; Mon, 15 Sep 2014 15:01:16 -0400 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1XTbWD-0000q6-Qy for help-gnu-emacs@gnu.org; Mon, 15 Sep 2014 15:01:08 -0400 Original-Received: from mercure.iro.umontreal.ca ([132.204.24.67]:41462) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1XTbWD-0000pg-Lk for help-gnu-emacs@gnu.org; Mon, 15 Sep 2014 15:00:57 -0400 Original-Received: from hidalgo.iro.umontreal.ca (hidalgo.iro.umontreal.ca [132.204.27.50]) by mercure.iro.umontreal.ca (Postfix) with ESMTP id DB45084F80; Mon, 15 Sep 2014 15:00:53 -0400 (EDT) Original-Received: from lechon.iro.umontreal.ca (lechon.iro.umontreal.ca [132.204.27.242]) by hidalgo.iro.umontreal.ca (Postfix) with ESMTP id 0CA351E5B8A; Mon, 15 Sep 2014 15:00:27 -0400 (EDT) Original-Received: by lechon.iro.umontreal.ca (Postfix, from userid 20848) id E3C36B42B3; Mon, 15 Sep 2014 15:00:26 -0400 (EDT) In-Reply-To: <87tx49dldt.fsf@gmx.de> (Michael Albinus's message of "Mon, 15 Sep 2014 16:11:10 +0200") User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/24.4.50 (gnu/linux) X-DIRO-MailScanner-Information: Please contact the ISP for more information X-DIRO-MailScanner: Found to be clean X-DIRO-MailScanner-SpamCheck: n'est pas un polluriel, SpamAssassin (score=-2.82, requis 5, autolearn=not spam, ALL_TRUSTED -2.82, MC_TSTLAST 0.00) X-DIRO-MailScanner-From: monnier@iro.umontreal.ca X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.6.x X-Received-From: 132.204.24.67 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:99934 Archived-At: >>> (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 "*". No, no: even if they do. Read again: he mapconcats `regexp-quote'. Stefan