GNU bug report logs - #36354
26.1; In re-builder the command `reb-copy' doesn't copy the regex correctly in string mode, Recipe

Previous Next

Package: emacs;

Reported by: leo <devel <at> halloleo.hailmail.net>

Date: Mon, 24 Jun 2019 14:38:02 UTC

Severity: normal

Tags: notabug

Found in version 26.1

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

Bug is archived. No further changes may be made.

Full log


View this message in rfc822 format

From: Lars Ingebrigtsen <larsi <at> gnus.org>
To: leo <devel <at> halloleo.hailmail.net>
Cc: 36354 <at> debbugs.gnu.org
Subject: bug#36354: 26.1; In re-builder the command `reb-copy' doesn't copy the regex correctly in string mode, Recipe
Date: Tue, 09 Jul 2019 03:27:42 +0200
leo <devel <at> halloleo.hailmail.net> writes:

>
> 1. Start `re-builder'.
> 2. Build a regex in `re-builder'
> 3. Switch via C-c TAB to "string" syntax .
> 4. Copy the regex via `reb-copy'
>
> The result cannot be pasted in any regex replace prompt, but that is
> exactly the place where string syntax is used.

This seems like a deliberate feature:

;; (The compiled string form will be copied by `reb-copy')

If you just want the displayed version (which is indeed handy for
`replace-regexp' and friends), you can just copy the text from the
buffer.

So I'm closing this bug report.

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




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

Previous Next


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