On 2017-10-25, Pieter Kockx <[email protected]> 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.

Hi Pieter,

Thanks, this patch looks good to me. I'll wait a few more days before
applying in case Evan Gates wants to comment since he is the original
author.

> -- Pieter

Reply via email to