* Perl-compatible regexps
@ 2012-08-05 18:03 Jack Tanner
2012-08-05 18:51 ` Ivan Andrus
2012-08-06 2:23 ` David De La Harpe Golden
0 siblings, 2 replies; 3+ messages in thread
From: Jack Tanner @ 2012-08-05 18:03 UTC (permalink / raw)
To: emacs-devel
Is it possible to use Perl-compatible regexps in Emacs? If not, could that be
achieved by building Emacs with PCRE?
^ permalink raw reply [flat|nested] 3+ messages in thread
* Re: Perl-compatible regexps
2012-08-05 18:03 Perl-compatible regexps Jack Tanner
@ 2012-08-05 18:51 ` Ivan Andrus
2012-08-06 2:23 ` David De La Harpe Golden
1 sibling, 0 replies; 3+ messages in thread
From: Ivan Andrus @ 2012-08-05 18:51 UTC (permalink / raw)
To: Jack Tanner; +Cc: emacs-devel
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
^ permalink raw reply [flat|nested] 3+ messages in thread
* Re: Perl-compatible regexps
2012-08-05 18:03 Perl-compatible regexps Jack Tanner
2012-08-05 18:51 ` Ivan Andrus
@ 2012-08-06 2:23 ` David De La Harpe Golden
1 sibling, 0 replies; 3+ messages in thread
From: David De La Harpe Golden @ 2012-08-06 2:23 UTC (permalink / raw)
To: emacs-devel; +Cc: Jack Tanner
On 05/08/12 19:03, Jack Tanner wrote:
> Is it possible to use Perl-compatible regexps in Emacs? If not, could that be
> achieved by building Emacs with PCRE?
Porting CL-PPCRE (a pure common lisp regex lib, not a binding to some C
lib) to emacs lisp might be an alternative, haven't really looked into it.
http://weitz.de/cl-ppcre/
^ permalink raw reply [flat|nested] 3+ messages in thread
end of thread, other threads:[~2012-08-06 2:23 UTC | newest]
Thread overview: 3+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2012-08-05 18:03 Perl-compatible regexps Jack Tanner
2012-08-05 18:51 ` Ivan Andrus
2012-08-06 2:23 ` David De La Harpe Golden
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.