In article <a2ba5261-bf4a-f3c7-c614-c54088391...@sdf.org>,
RVP  <r...@sdf.org> wrote:
>On Wed, 26 Jul 2023, tlaro...@polynum.com wrote:
>
>> $ export LC_CTYPE=fr_FR.ISO8859-15
>>
>> and then:
>>
>> $ echo "??" | sed 's/??\&eacute;/g'
>> sed: 1: "s/??\&eacute;/g": RE error: trailing backslash (\)
>>
>
>Not running NetBSD right now, but, FreeBSD 13.2 has the same issue which
>can be seen even with a plain grep(1)--as it relies on the libc regexp
>engine.
>
>Can you try the patch below (it is for NetBSD):

Why don't we make next and end unsigned char so that all instances are fixed?

christos

Reply via email to