GNU bug report logs - #7475
I wish query-replace-regexp would use perl regexps

Previous Next

Package: emacs;

Reported by: jidanni <at> jidanni.org

Date: Wed, 24 Nov 2010 21:28:01 UTC

Severity: wishlist

Tags: wontfix

Done: Lars Ingebrigtsen <larsi <at> gnus.org>

Bug is archived. No further changes may be made.

To add a comment to this bug, you must first unarchive it, by sending
a message to control AT debbugs.gnu.org, with unarchive 7475 in the body.
You can then email your comments to 7475 AT debbugs.gnu.org in the normal way.

Toggle the display of automated, internal messages from the tracker.

View this report as an mbox folder, status mbox, maintainer mbox


Report forwarded to owner <at> debbugs.gnu.org, bug-gnu-emacs <at> gnu.org:
bug#7475; Package emacs. (Wed, 24 Nov 2010 21:28:02 GMT) Full text and rfc822 format available.

Acknowledgement sent to jidanni <at> jidanni.org:
New bug report received and forwarded. Copy sent to bug-gnu-emacs <at> gnu.org. (Wed, 24 Nov 2010 21:28:02 GMT) Full text and rfc822 format available.

Message #5 received at submit <at> debbugs.gnu.org (full text, mbox):

From: jidanni <at> jidanni.org
To: bug-gnu-emacs <at> gnu.org
Subject: I wish query-replace-regexp would use perl regexps
Date: Thu, 25 Nov 2010 04:59:46 +0800
I wish query-replace-regexp would use perl regexps.
It is already hard enough to get the region and regexp right, and then
one has to think 'how do I write that in old fashioned regexp language."
Why can't it be rigged up to just send it to the current perl on the machine.
As it is I am already just saying forget it and 'outsourcing' more
complicated jobs to batch scripts.




Information forwarded to bug-gnu-emacs <at> gnu.org:
bug#7475; Package emacs. (Sat, 10 Aug 2019 19:33:01 GMT) Full text and rfc822 format available.

Message #8 received at 7475 <at> debbugs.gnu.org (full text, mbox):

From: Stefan Kangas <stefan <at> marxist.se>
To: 積丹尼 Dan Jacobson <jidanni <at> jidanni.org>
Cc: 7475 <at> debbugs.gnu.org
Subject: Re: bug#7475: I wish query-replace-regexp would use perl regexps
Date: Sat, 10 Aug 2019 21:32:23 +0200
jidanni <at> jidanni.org writes:

> I wish query-replace-regexp would use perl regexps.
> It is already hard enough to get the region and regexp right, and then
> one has to think 'how do I write that in old fashioned regexp language."
> Why can't it be rigged up to just send it to the current perl on the machine.
> As it is I am already just saying forget it and 'outsourcing' more
> complicated jobs to batch scripts.

Sending every regular expression to an external executable would add a
new dependency and likely affect performance badly.

To do this reasonably would presumably require significant work on the
regular expression engine, and a good plan for making the change.  Many
users are very used to the current regular expressions Emacs use.

Maybe a better option is to develop something like this as an external
package?

I would suggest to close this as wontfix.

Best regards,
Stefan Kangas




Information forwarded to bug-gnu-emacs <at> gnu.org:
bug#7475; Package emacs. (Sat, 10 Aug 2019 22:10:02 GMT) Full text and rfc822 format available.

Message #11 received at 7475 <at> debbugs.gnu.org (full text, mbox):

From: 積丹尼 Dan Jacobson <jidanni <at> jidanni.org>
To: Stefan Kangas <stefan <at> marxist.se>
Cc: 7475 <at> debbugs.gnu.org
Subject: Re: bug#7475: I wish query-replace-regexp would use perl regexps
Date: Sun, 11 Aug 2019 06:09:09 +0800
All I know is GNU grep has a -P option, to use perl expressions, all
within the same program.




Information forwarded to bug-gnu-emacs <at> gnu.org:
bug#7475; Package emacs. (Sun, 11 Aug 2019 07:23:02 GMT) Full text and rfc822 format available.

Message #14 received at submit <at> debbugs.gnu.org (full text, mbox):

From: ndame <emacsuser <at> freemail.hu>
To: "7475 <at> debbugs.gnu.org" <7475 <at> debbugs.gnu.org>, 
 "bug-gnu-emacs <at> gnu.org" <bug-gnu-emacs <at> gnu.org>
Subject: bug#7475: I wish query-replace-regexp would use perl regexps
Date: Sun, 11 Aug 2019 09:21:53 +0200 (CEST)
[Message part 1 (text/plain, inline)]
There is a package which does this:

https://github.com/joddie/pcre2el
[Message part 2 (text/html, inline)]

Information forwarded to bug-gnu-emacs <at> gnu.org:
bug#7475; Package emacs. (Sun, 11 Aug 2019 07:23:02 GMT) Full text and rfc822 format available.

Information forwarded to bug-gnu-emacs <at> gnu.org:
bug#7475; Package emacs. (Mon, 14 Oct 2019 01:12:01 GMT) Full text and rfc822 format available.

Message #20 received at 7475 <at> debbugs.gnu.org (full text, mbox):

From: Lars Ingebrigtsen <larsi <at> gnus.org>
To: ndame <emacsuser <at> freemail.hu>
Cc: 7475 <at> debbugs.gnu.org
Subject: Re: bug#7475: I wish query-replace-regexp would use perl regexps
Date: Mon, 14 Oct 2019 03:11:29 +0200
ndame <emacsuser <at> freemail.hu> writes:

> There is a package which does this:
>
> https://github.com/joddie/pcre2el

There has been some talk about allowing alternate Perl regexps, but it
wouldn't be just for a single command like this, so I'm closing this bug
report.

-- 
(domestic pets only, the antidote for overdose, milk.)
   bloggy blog: http://lars.ingebrigtsen.no




Added tag(s) wontfix. Request was from Lars Ingebrigtsen <larsi <at> gnus.org> to control <at> debbugs.gnu.org. (Mon, 14 Oct 2019 01:12:02 GMT) Full text and rfc822 format available.

bug closed, send any further explanations to 7475 <at> debbugs.gnu.org and jidanni <at> jidanni.org Request was from Lars Ingebrigtsen <larsi <at> gnus.org> to control <at> debbugs.gnu.org. (Mon, 14 Oct 2019 01:12:04 GMT) Full text and rfc822 format available.

bug archived. Request was from Debbugs Internal Request <help-debbugs <at> gnu.org> to internal_control <at> debbugs.gnu.org. (Mon, 11 Nov 2019 12:24:13 GMT) Full text and rfc822 format available.

This bug report was last modified 5 years and 224 days ago.

Previous Next


GNU bug tracking system
Copyright (C) 1999 Darren O. Benham, 1997,2003 nCipher Corporation Ltd, 1994-97 Ian Jackson.