all messages for Emacs-related lists mirrored at yhetil.org
 help / color / mirror / code / Atom feed
From: Tom Browder <tom.browder@gmail.com>
To: Drew Adams <drew.adams@oracle.com>
Cc: "help-gnu-emacs@gnu.org" <help-gnu-emacs@gnu.org>,
	Yuri Khan <yuri.v.khan@gmail.com>
Subject: Re: How can I assign a regex to a variable?
Date: Thu, 28 Jul 2016 15:44:11 -0500	[thread overview]
Message-ID: <CAFMGiz8kjNqBwmbM4N7jqkOqo0LAX34+JPyZXnSU+krFUaz6qg@mail.gmail.com> (raw)
In-Reply-To: <047b385d-5843-4548-810f-de411a62de20@default>

On Thursday, July 28, 2016, Drew Adams <drew.adams@oracle.com> wrote:

> > Show a small but complete example that demonstrates the problem.
> > Someone will be able to tell you what’s 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


  reply	other threads:[~2016-07-28 20:44 UTC|newest]

Thread overview: 7+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2016-07-28 19:36 How can I assign a regex to a variable? Tom Browder
2016-07-28 19:48 ` Yuri Khan
2016-07-28 20:25   ` Drew Adams
2016-07-28 20:44     ` Tom Browder [this message]
2016-07-28 20:57       ` Drew Adams
2016-07-28 21:57         ` Tom Browder
     [not found]     ` <mailman.2250.1469738663.26859.help-gnu-emacs@gnu.org>
2016-07-29  7:08       ` Barry Margolin

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=CAFMGiz8kjNqBwmbM4N7jqkOqo0LAX34+JPyZXnSU+krFUaz6qg@mail.gmail.com \
    --to=tom.browder@gmail.com \
    --cc=drew.adams@oracle.com \
    --cc=help-gnu-emacs@gnu.org \
    --cc=yuri.v.khan@gmail.com \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
Code repositories for project(s) associated with this external index

	https://git.savannah.gnu.org/cgit/emacs.git
	https://git.savannah.gnu.org/cgit/emacs/org-mode.git

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.