From: Stefan Monnier <monnier@iro.umontreal.ca>
To: Lars Magne Ingebrigtsen <larsi@gnus.org>
Cc: emacs-devel@gnu.org
Subject: Re: Regexps and strings once again
Date: Mon, 15 Sep 2014 08:56:38 -0400 [thread overview]
Message-ID: <jwvwq95f3j1.fsf-monnier+emacs@gnu.org> (raw)
In-Reply-To: <m3bnqhdws8.fsf@stories.gnus.org> (Lars Magne Ingebrigtsen's message of "Mon, 15 Sep 2014 12:04:55 +0200")
> If we want to do a more string-ey syntax, but not require wrapping it in
> (regexp ...), then we could have something like:
> #r"This is (not )?a Perl regexp"
The difference between #r"REGEXP" and (SYMBOL REGEXP) is enormous in
terms of tool support. So if you don't like (regexp "foo"), I'd
recommend you try a shorter symbol first.
Stefan
next prev parent reply other threads:[~2014-09-15 12:56 UTC|newest]
Thread overview: 15+ messages / expand[flat|nested] mbox.gz Atom feed top
2014-09-14 23:27 Regexps and strings once again Lars Magne Ingebrigtsen
2014-09-15 0:50 ` Daniel Colascione
2014-09-15 2:14 ` Stefan Monnier
2014-09-15 3:41 ` Daniel Colascione
2014-09-15 12:52 ` Stefan Monnier
2014-09-15 10:04 ` Lars Magne Ingebrigtsen
2014-09-15 10:26 ` Andreas Schwab
2014-09-15 10:33 ` Lars Magne Ingebrigtsen
2014-09-15 12:56 ` Stefan Monnier [this message]
2014-09-15 6:39 ` Lars Magne Ingebrigtsen
2014-09-15 7:08 ` Daniel Colascione
2014-09-15 1:38 ` Yuri Khan
2014-09-15 9:22 ` Andreas Schwab
2014-09-15 10:12 ` Eric Abrahamsen
2014-09-15 10:22 ` Eric Abrahamsen
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=jwvwq95f3j1.fsf-monnier+emacs@gnu.org \
--to=monnier@iro.umontreal.ca \
--cc=emacs-devel@gnu.org \
--cc=larsi@gnus.org \
/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.