unofficial mirror of emacs-devel@gnu.org 
 help / color / mirror / code / Atom feed
From: Ivan Andrus <darthandrus@gmail.com>
To: Jack Tanner <ihok@hotmail.com>
Cc: emacs-devel@gnu.org
Subject: Re: Perl-compatible regexps
Date: Sun, 5 Aug 2012 20:51:12 +0200	[thread overview]
Message-ID: <067F2978-E157-485A-AE83-D4D2E4C266FE@gmail.com> (raw)
In-Reply-To: <loom.20120805T200022-189@post.gmane.org>

On Aug 5, 2012, at 8:03 PM, Jack Tanner wrote:

> Is it possible to use Perl-compatible regexps in Emacs? If not, could that be
> achieved by building Emacs with PCRE?


I had a patch once that added a pcre-search-forward function.  However, it was very simple and there was no pcre-search-backward, nor occur, or a hundred other functions that use regular expressions.

Depending on what you want, you might consider using pcre2el:
https://github.com/joddie/pcre2el

-Ivan




  reply	other threads:[~2012-08-05 18:51 UTC|newest]

Thread overview: 3+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2012-08-05 18:03 Perl-compatible regexps Jack Tanner
2012-08-05 18:51 ` Ivan Andrus [this message]
2012-08-06  2:23 ` David De La Harpe Golden

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

  List information: https://www.gnu.org/software/emacs/

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

  git send-email \
    --in-reply-to=067F2978-E157-485A-AE83-D4D2E4C266FE@gmail.com \
    --to=darthandrus@gmail.com \
    --cc=emacs-devel@gnu.org \
    --cc=ihok@hotmail.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 public inbox

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

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).