GNU bug report logs - #6390
Should not regexp-quote quote newline?

Previous Next

Package: emacs;

Reported by: Lennart Borgman <lennart.borgman <at> gmail.com>

Date: Thu, 10 Jun 2010 14:43:02 UTC

Severity: wishlist

Tags: wontfix

Done: Glenn Morris <rgm <at> gnu.org>

Bug is archived. No further changes may be made.

Full log


View this message in rfc822 format

From: Andreas Schwab <schwab <at> linux-m68k.org>
To: Lennart Borgman <lennart.borgman <at> gmail.com>
Cc: 6390 <at> debbugs.gnu.org
Subject: bug#6390: Should not regexp-quote quote newline?
Date: Thu, 10 Jun 2010 18:22:43 +0200
Lennart Borgman <lennart.borgman <at> gmail.com> writes:

> On Thu, Jun 10, 2010 at 6:08 PM, Andreas Schwab <schwab <at> linux-m68k.org> wrote:
>> Lennart Borgman <lennart.borgman <at> gmail.com> writes:
>>
>>> On Thu, Jun 10, 2010 at 5:01 PM, Andreas Schwab <schwab <at> linux-m68k.org> wrote:
>>>> Lennart Borgman <lennart.borgman <at> gmail.com> writes:
>>>>
>>>>> Would it not be more practical if the result was "a\nb"?
>>>>
>>>> That's exactly what you get.
>>>
>>> ;-)
>>>
>>> "a\\nb"
>>
>> This is a totally different regexp.
>
> ;-)
>
> Depends on how u "read" it.

If you want a print representation then use print.

Andreas.

-- 
Andreas Schwab, schwab <at> linux-m68k.org
GPG Key fingerprint = 58CA 54C7 6D53 942B 1756  01D3 44D5 214B 8276 4ED5
"And now for something completely different."




This bug report was last modified 13 years and 318 days ago.

Previous Next


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