Here's a second patch that makes the surrounding comments more in line with
the code, in my opinion.
On Wed, 25 Oct 2017 at 09:38 Pieter Kockx <pieterkockx_AT_gmail.com> wrote:
> Hello everyone
>
> sed 's/[[x=]//'
>
> 's/[[x=]//' was parsed as 's/[[=x]//' which (correctly)
> raises an error because the "second delimiter is missing", here =].
>
> The two got mixed up because the parser didn't return to
> the "inside bracket"-state after encountering an opening bracket
> while inside the bracket expression.
>
> -- Pieter
>
Received on Wed Oct 25 2017 - 09:46:48 CEST