From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Tom Browder Newsgroups: gmane.emacs.help Subject: Re: How can I assign a regex to a variable? Date: Thu, 28 Jul 2016 15:44:11 -0500 Message-ID: References: <047b385d-5843-4548-810f-de411a62de20@default> NNTP-Posting-Host: plane.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: quoted-printable X-Trace: ger.gmane.org 1469738711 492 80.91.229.3 (28 Jul 2016 20:45:11 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Thu, 28 Jul 2016 20:45:11 +0000 (UTC) Cc: "help-gnu-emacs@gnu.org" , Yuri Khan To: Drew Adams Original-X-From: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Thu Jul 28 22:45:06 2016 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 1bSsAz-0004kQ-W0 for geh-help-gnu-emacs@m.gmane.org; Thu, 28 Jul 2016 22:45:06 +0200 Original-Received: from localhost ([::1]:55573 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1bSsAt-0002F0-Om for geh-help-gnu-emacs@m.gmane.org; Thu, 28 Jul 2016 16:44:59 -0400 Original-Received: from eggs.gnu.org ([2001:4830:134:3::10]:47031) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1bSsAD-0002Aj-C9 for help-gnu-emacs@gnu.org; Thu, 28 Jul 2016 16:44:21 -0400 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1bSsA9-0000Z5-16 for help-gnu-emacs@gnu.org; Thu, 28 Jul 2016 16:44:17 -0400 Original-Received: from mail-oi0-x233.google.com ([2607:f8b0:4003:c06::233]:34908) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1bSsA8-0000Yc-Rc for help-gnu-emacs@gnu.org; Thu, 28 Jul 2016 16:44:12 -0400 Original-Received: by mail-oi0-x233.google.com with SMTP id l72so79957597oig.2 for ; Thu, 28 Jul 2016 13:44:12 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=mime-version:in-reply-to:references:from:date:message-id:subject:to :cc; bh=4aH2GutEAJkN7uwv4eiprQ2oQTQune8tnkrrv2Kijow=; b=FC+zEFEZj8xa2jU10EOxebo785C+4NKO9TEa3XLoPDvwaRcOIsrYHgDs2Yb76Ryc9Q GzougPyDQ2AYv2mLDSPuaxvAH0oPv4g8JsmSmNbmrLpjUD7cMMbcpLS09EMChYIQ4gGr 2SzCK0QJ+3FNycr38upnKGonSg3bBzt48hBEVbaOdq71VYKbUXS+Z58CsXxEjkq4GiaO Dolz97mTG720c6m2fzO7x7eVylqaoS8qOLTarVVSOy4zO8n06eppARM7VVzVpHg4oVvn xocmfFOcj8SBYfyX0I67vjMrnltwe7VYpNgVv+KN0126Qn/JWTVr4zqBzBOS5hPQGMA4 i68g== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20130820; h=x-gm-message-state:mime-version:in-reply-to:references:from:date :message-id:subject:to:cc; bh=4aH2GutEAJkN7uwv4eiprQ2oQTQune8tnkrrv2Kijow=; b=encYqrpgQ9D2QPbFW7JnsuH0FxZmWqRIlGJOtf4CMmlg8d3hgYyB73x6UHKf8Ki2jI m9i4mr/Vxc0Q3kHRFVLdj9hDIf6cKdBitXjODCd8E+6wR7wo+BDssSSpyjvJxFjJoVoG nqqhPejRP8Mdj+6TCLOSXCQbfHMo0+iz2napl/hY+dcVjyXvZ1qP+mOIRwdjNr4HX5s2 PhwG0b2QjzG8oYIsiYBxJQ152baw57DbFi+hD3YcOIm8E0chD4jIlldhO2BCxZrDF08k h+OQBu15tqCshqo54FYsoY9PJUppewCX8xu0wetnM+3pGI1BHy98geGZbm92W6fJUwXe fOHA== X-Gm-Message-State: AEkoouvBPCinzCzVAjPsOkJn+uG5AAwe6Owk1RiORaRJATT6iIaACNubtQd4FH3BSRg8pIaLIg+QrliVikUxZg== X-Received: by 10.157.40.119 with SMTP id h52mr24033354otd.56.1469738652181; Thu, 28 Jul 2016 13:44:12 -0700 (PDT) Original-Received: by 10.157.62.135 with HTTP; Thu, 28 Jul 2016 13:44:11 -0700 (PDT) In-Reply-To: <047b385d-5843-4548-810f-de411a62de20@default> X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.2.x-3.x [generic] X-Received-From: 2607:f8b0:4003:c06::233 X-Content-Filtered-By: Mailman/MimeDel 2.1.21 X-BeenThere: help-gnu-emacs@gnu.org X-Mailman-Version: 2.1.21 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:110982 Archived-At: On Thursday, July 28, 2016, Drew Adams wrote: > > Show a small but complete example that demonstrates the problem. > > Someone will be able to tell you what=E2=80=99s wrong with it. Okay, I'll try. But I do have the regexes that work great when I put it in double quotes directly in the function. However, I want to be able to define the regexes external to the function for better generality and documentation. I'll return later with a complete example. Cheers! -Tom