* bug#7475: I wish query-replace-regexp would use perl regexps
@ 2010-11-24 20:59 jidanni
2019-08-10 19:32 ` Stefan Kangas
` (2 more replies)
0 siblings, 3 replies; 5+ messages in thread
From: jidanni @ 2010-11-24 20:59 UTC (permalink / raw
To: 7475
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.
^ permalink raw reply [flat|nested] 5+ messages in thread
* bug#7475: I wish query-replace-regexp would use perl regexps
2010-11-24 20:59 bug#7475: I wish query-replace-regexp would use perl regexps jidanni
@ 2019-08-10 19:32 ` Stefan Kangas
2019-08-10 22:09 ` 積丹尼 Dan Jacobson
2019-08-11 7:21 ` ndame
2 siblings, 0 replies; 5+ messages in thread
From: Stefan Kangas @ 2019-08-10 19:32 UTC (permalink / raw
To: 積丹尼 Dan Jacobson; +Cc: 7475
jidanni@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
^ permalink raw reply [flat|nested] 5+ messages in thread
* bug#7475: I wish query-replace-regexp would use perl regexps
2010-11-24 20:59 bug#7475: I wish query-replace-regexp would use perl regexps jidanni
2019-08-10 19:32 ` Stefan Kangas
@ 2019-08-10 22:09 ` 積丹尼 Dan Jacobson
2019-08-11 7:21 ` ndame
2 siblings, 0 replies; 5+ messages in thread
From: 積丹尼 Dan Jacobson @ 2019-08-10 22:09 UTC (permalink / raw
To: Stefan Kangas; +Cc: 7475
All I know is GNU grep has a -P option, to use perl expressions, all
within the same program.
^ permalink raw reply [flat|nested] 5+ messages in thread
* bug#7475: I wish query-replace-regexp would use perl regexps
2010-11-24 20:59 bug#7475: I wish query-replace-regexp would use perl regexps jidanni
2019-08-10 19:32 ` Stefan Kangas
2019-08-10 22:09 ` 積丹尼 Dan Jacobson
@ 2019-08-11 7:21 ` ndame
2019-10-14 1:11 ` Lars Ingebrigtsen
2 siblings, 1 reply; 5+ messages in thread
From: ndame @ 2019-08-11 7:21 UTC (permalink / raw
To: 7475
[-- Attachment #1: Type: text/plain, Size: 70 bytes --]
There is a package which does this:
https://github.com/joddie/pcre2el
[-- Attachment #2: Type: text/html, Size: 82 bytes --]
^ permalink raw reply [flat|nested] 5+ messages in thread
end of thread, other threads:[~2019-10-14 1:11 UTC | newest]
Thread overview: 5+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2010-11-24 20:59 bug#7475: I wish query-replace-regexp would use perl regexps jidanni
2019-08-10 19:32 ` Stefan Kangas
2019-08-10 22:09 ` 積丹尼 Dan Jacobson
2019-08-11 7:21 ` ndame
2019-10-14 1:11 ` Lars Ingebrigtsen
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.