GNU bug report logs - #20901
Can't replace regexps with slash

Previous Next

Package: emacs;

Reported by: Paul Eggert <eggert <at> cs.ucla.edu>

Date: Fri, 26 Jun 2015 14:28:01 UTC

Severity: normal

Done: Artur Malabarba <bruce.connor.am <at> gmail.com>

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 20901 in the body.
You can then email your comments to 20901 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 bug-gnu-emacs <at> gnu.org:
bug#20901; Package emacs. (Fri, 26 Jun 2015 14:28:01 GMT) Full text and rfc822 format available.

Acknowledgement sent to Paul Eggert <eggert <at> cs.ucla.edu>:
New bug report received and forwarded. Copy sent to bug-gnu-emacs <at> gnu.org. (Fri, 26 Jun 2015 14:28:02 GMT) Full text and rfc822 format available.

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

From: Paul Eggert <eggert <at> cs.ucla.edu>
To: Emacs bug reports and feature requests <bug-gnu-emacs <at> gnu.org>
Cc: Artur Malabarba <bruce.connor.am <at> gmail.com>
Subject: Can't replace regexps with slash
Date: Fri, 26 Jun 2015 07:27:05 -0700
replace-regexp currently mishandles regular expression replacement with 
characters like '/'.  I assume this is related to the recent changes with string 
search so I am CC'ing Artur.

This is with Emacs master (commit ff80437668dd0d5163c9e43f0c200b923b39166b).

To reproduce, run emacs -Q and type:

C-h t M-x replace-regexp RET .*/ RET RET

Emacs will respond "Replaced 0 occurrences" without changing the buffer.  It 
should replace 12 occurrences.




Added indication that bug 20901 blocks19759 Request was from Glenn Morris <rgm <at> gnu.org> to control <at> debbugs.gnu.org. (Fri, 26 Jun 2015 15:36:02 GMT) Full text and rfc822 format available.

Reply sent to bruce.connor.am <at> gmail.com:
You have taken responsibility. (Fri, 26 Jun 2015 18:05:02 GMT) Full text and rfc822 format available.

Notification sent to Paul Eggert <eggert <at> cs.ucla.edu>:
bug acknowledged by developer. (Fri, 26 Jun 2015 18:05:03 GMT) Full text and rfc822 format available.

Message #12 received at 20901-done <at> debbugs.gnu.org (full text, mbox):

From: Artur Malabarba <bruce.connor.am <at> gmail.com>
To: Paul Eggert <eggert <at> cs.ucla.edu>
Cc: 20901-done <at> debbugs.gnu.org
Subject: Re: bug#20901: Can't replace regexps with slash
Date: Fri, 26 Jun 2015 19:04:23 +0100
You're right. Should be fixed now.

2015-06-26 15:27 GMT+01:00 Paul Eggert <eggert <at> cs.ucla.edu>:
> replace-regexp currently mishandles regular expression replacement with
> characters like '/'.  I assume this is related to the recent changes with
> string search so I am CC'ing Artur.
>
> This is with Emacs master (commit ff80437668dd0d5163c9e43f0c200b923b39166b).
>
> To reproduce, run emacs -Q and type:
>
> C-h t M-x replace-regexp RET .*/ RET RET
>
> Emacs will respond "Replaced 0 occurrences" without changing the buffer.  It
> should replace 12 occurrences.
>
>
>




bug archived. Request was from Debbugs Internal Request <help-debbugs <at> gnu.org> to internal_control <at> debbugs.gnu.org. (Sat, 25 Jul 2015 11:24:03 GMT) Full text and rfc822 format available.

This bug report was last modified 9 years and 332 days ago.

Previous Next


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