unofficial mirror of bug-gnu-emacs@gnu.org 
 help / color / mirror / code / Atom feed
* bug#20901: Can't replace regexps with slash
@ 2015-06-26 14:27 Paul Eggert
  2015-06-26 18:04 ` Artur Malabarba
  0 siblings, 1 reply; 2+ messages in thread
From: Paul Eggert @ 2015-06-26 14:27 UTC (permalink / raw)
  To: 20901; +Cc: Artur Malabarba

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.





^ permalink raw reply	[flat|nested] 2+ messages in thread

* bug#20901: Can't replace regexps with slash
  2015-06-26 14:27 bug#20901: Can't replace regexps with slash Paul Eggert
@ 2015-06-26 18:04 ` Artur Malabarba
  0 siblings, 0 replies; 2+ messages in thread
From: Artur Malabarba @ 2015-06-26 18:04 UTC (permalink / raw)
  To: Paul Eggert; +Cc: 20901-done

You're right. Should be fixed now.

2015-06-26 15:27 GMT+01:00 Paul Eggert <eggert@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.
>
>
>





^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2015-06-26 18:04 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2015-06-26 14:27 bug#20901: Can't replace regexps with slash Paul Eggert
2015-06-26 18:04 ` Artur Malabarba

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).