From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: tomas@tuxteam.de Newsgroups: gmane.emacs.help Subject: Re: `compare-strings' style question Date: Fri, 20 Nov 2009 08:03:18 +0100 Message-ID: <20091120070318.GD30194@tomas> References: <20091119105024.GA6950@tomas> NNTP-Posting-Host: lo.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=utf-8; x-action=pgp-signed Content-Transfer-Encoding: quoted-printable X-Trace: ger.gmane.org 1258701153 1298 80.91.229.12 (20 Nov 2009 07:12:33 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Fri, 20 Nov 2009 07:12:33 +0000 (UTC) To: help-gnu-emacs@gnu.org Original-X-From: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Fri Nov 20 08:12:26 2009 Return-path: Envelope-to: geh-help-gnu-emacs@m.gmane.org Original-Received: from lists.gnu.org ([199.232.76.165]) by lo.gmane.org with esmtp (Exim 4.50) id 1NBNfL-0005dH-0r for geh-help-gnu-emacs@m.gmane.org; Fri, 20 Nov 2009 08:12:23 +0100 Original-Received: from localhost ([127.0.0.1]:33532 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1NBNfJ-0001ZZ-MP for geh-help-gnu-emacs@m.gmane.org; Fri, 20 Nov 2009 02:12:21 -0500 Original-Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1NBNdf-0000yV-Lu for help-gnu-emacs@gnu.org; Fri, 20 Nov 2009 02:10:39 -0500 Original-Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1NBNda-0000vc-Q4 for help-gnu-emacs@gnu.org; Fri, 20 Nov 2009 02:10:39 -0500 Original-Received: from [199.232.76.173] (port=37806 helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1NBNda-0000vO-Jg for help-gnu-emacs@gnu.org; Fri, 20 Nov 2009 02:10:34 -0500 Original-Received: from alextrapp1.equinoxe.de ([217.22.192.104]:38715 helo=www.elogos.de) by monty-python.gnu.org with esmtp (Exim 4.60) (envelope-from ) id 1NBNda-0005kk-5c for help-gnu-emacs@gnu.org; Fri, 20 Nov 2009 02:10:34 -0500 Original-Received: by www.elogos.de (Postfix, from userid 1000) id 9807A90048; Fri, 20 Nov 2009 08:03:18 +0100 (CET) Content-Disposition: inline In-Reply-To: User-Agent: Mutt/1.5.15+20070412 (2007-04-11) X-detected-operating-system: by monty-python.gnu.org: GNU/Linux 2.6 (newer, 2) 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:69963 Archived-At: -----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1 On Thu, Nov 19, 2009 at 08:08:59PM -0700, Kevin Rodgers wrote: > (when (string-match (concat "^" (regexp-quote foo)) bar) > ...) Thanks -- but I was trying to avoid conjuring up the whole regexp machinery for this task. I admit that this looks less confusing, though. Regards - -- tom=C3=A1s -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.4.6 (GNU/Linux) iD4DBQFLBj82Bcgs9XrR2kYRAq66AJdGrFU/De9tKB71S0/Q9C7VADgsAJ4/Mp8E JDIMZVIzeTe4pZ/G5a76eg=3D=3D =3DY5cw -----END PGP SIGNATURE-----