[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
bug#36372: 27.0.50; replace-regexp-in-string skips START first chars in
From: |
Mattias Engdegård |
Subject: |
bug#36372: 27.0.50; replace-regexp-in-string skips START first chars in return value [PATCH] |
Date: |
Wed, 26 Jun 2019 12:01:45 +0200 |
26 juni 2019 kl. 11.38 skrev Robert Pluim <rpluim@gmail.com>:
>
> insert 'the' before 'first'
Oh dear, thank you for spotting that.
> Mattias> Optional arguments FIXEDCASE, LITERAL and SUBEXP are like the
> Mattias> arguments with the same names of function `replace-match'. If
> START
> Mattias> -is non-nil, start replacements at that index in STRING.
> Mattias> +is non-nil, start replacements at that index in STRING. The
> return
> Mattias> +value then omits the first START characters of STRING.
>
> 'at that index in STRING, and omit the first START characters from the
> return value.'
Thank you, but that would approach circular reasoning (from what return value,
exactly? The one that we are in the process of defining?). I went with
[...] If START is non-nil, start replacements at that index in STRING, and omit
the first START characters of STRING from the return value.
in the revised patch below.
0001-Document-bug-in-replace-regexp-in-string.patch
Description: Binary data
- bug#36372: 27.0.50; replace-regexp-in-string skips START first chars in return value, Mattias Engdegård, 2019/06/25
- bug#36372: 27.0.50; replace-regexp-in-string skips START first chars in return value, Eli Zaretskii, 2019/06/25
- bug#36372: 27.0.50; replace-regexp-in-string skips START first chars in return value [PATCH], Mattias Engdegård, 2019/06/26
- bug#36372: 27.0.50; replace-regexp-in-string skips START first chars in return value [PATCH], Lars Ingebrigtsen, 2019/06/26
- bug#36372: 27.0.50; replace-regexp-in-string skips START first chars in return value [PATCH], Robert Pluim, 2019/06/26
- bug#36372: 27.0.50; replace-regexp-in-string skips START first chars in return value [PATCH], Lars Ingebrigtsen, 2019/06/26
- bug#36372: 27.0.50; replace-regexp-in-string skips START first chars in return value [PATCH], Drew Adams, 2019/06/26
- bug#36372: 27.0.50; replace-regexp-in-string skips START first chars in return value [PATCH], Eli Zaretskii, 2019/06/26
- bug#36372: 27.0.50; replace-regexp-in-string skips START first chars in return value [PATCH], Mattias Engdegård, 2019/06/26
- bug#36372: 27.0.50; replace-regexp-in-string skips START first chars in return value [PATCH], Clément Pit-Claudel, 2019/06/26
- bug#36372: 27.0.50; replace-regexp-in-string skips START first chars in return value [PATCH], Mattias Engdegård, 2019/06/26
- bug#36372: 27.0.50; replace-regexp-in-string skips START first chars in return value [PATCH], Eli Zaretskii, 2019/06/26