all messages for Emacs-related lists mirrored at yhetil.org
 help / color / mirror / code / Atom feed
From: Paul Eggert <eggert@cs.ucla.edu>
To: 20901@debbugs.gnu.org
Cc: Artur Malabarba <bruce.connor.am@gmail.com>
Subject: bug#20901: Can't replace regexps with slash
Date: Fri, 26 Jun 2015 07:27:05 -0700	[thread overview]
Message-ID: <558D6139.7000908@cs.ucla.edu> (raw)

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.





             reply	other threads:[~2015-06-26 14:27 UTC|newest]

Thread overview: 2+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2015-06-26 14:27 Paul Eggert [this message]
2015-06-26 18:04 ` bug#20901: Can't replace regexps with slash Artur Malabarba

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=558D6139.7000908@cs.ucla.edu \
    --to=eggert@cs.ucla.edu \
    --cc=20901@debbugs.gnu.org \
    --cc=bruce.connor.am@gmail.com \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
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.