[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
bug#44861: 27.1; [PATCH] signal in `replace-regexp-in-string'
From: |
Shigeru Fukaya |
Subject: |
bug#44861: 27.1; [PATCH] signal in `replace-regexp-in-string' |
Date: |
Wed, 25 Nov 2020 13:02:11 +0900 |
`replace-regexp-in-string' sometimes signals an error when REGEXP
contains some bondary sequence. Difference of searches between
against an original passed string and against an extracted substring
causes the incident.
(replace-regexp-in-string-simple "a\\B" "A" "a aaaa")
error --> cons: Args out of range: 2, 3
expected
==> "a AAAa"
(replace-regexp-in-string "\\Ba" "A" "a aaaa")
error --> cons: Args out of range: 3, 4
expected
==> "a aAAA"
--
Shigeru
subr.diff
Description: Binary data
- bug#44861: 27.1; [PATCH] signal in `replace-regexp-in-string',
Shigeru Fukaya <=
- bug#44861: 27.1; [PATCH] signal in `replace-regexp-in-string', Mattias Engdegård, 2020/11/25
- bug#44861: 27.1; [PATCH] signal in `replace-regexp-in-string', Mattias Engdegård, 2020/11/25
- bug#44861: 27.1; [PATCH] signal in `replace-regexp-in-string', Stefan Kangas, 2020/11/25
- bug#44861: 27.1; [PATCH] signal in `replace-regexp-in-string', Mattias Engdegård, 2020/11/26
- bug#44861: 27.1; [PATCH] signal in `replace-regexp-in-string', Lars Ingebrigtsen, 2020/11/26
- bug#44861: 27.1; [PATCH] signal in `replace-regexp-in-string', Mattias Engdegård, 2020/11/26
- bug#44861: 27.1; [PATCH] signal in `replace-regexp-in-string', Lars Ingebrigtsen, 2020/11/26
- bug#44861: 27.1; [PATCH] signal in `replace-regexp-in-string', Mattias Engdegård, 2020/11/26
- bug#44861: 27.1; [PATCH] signal in `replace-regexp-in-string', Basil L. Contovounesios, 2020/11/29
- bug#44861: 27.1; [PATCH] signal in `replace-regexp-in-string', Stefan Kangas, 2020/11/26