bug-grep
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

bug#15441: [PATCH] tests: ensure neither \s nor \S matches an invalid mu


From: Stefano Lattarini
Subject: bug#15441: [PATCH] tests: ensure neither \s nor \S matches an invalid multibyte character
Date: Mon, 23 Sep 2013 14:26:12 +0100
User-agent: Mozilla/5.0 (X11; Linux x86_64; rv:17.0) Gecko/20130804 Thunderbird/17.0.8

Hi Jim.

On 09/23/2013 06:18 AM, Jim Meyering wrote:
Here's a test for the original problem, which is also fixed by the
preceding patch:

...
>
+grep '^\S$' in > out-S && fail=1
> +compare /dev/null out-S || exit=1
>
Shouldn't this be "|| fail=1"?

> +grep '^\s$' in > out-s && fail=1
> +compare /dev/null out-s || exit=1
>
Ditto.

Regards,
  Stefano





reply via email to

[Prev in Thread] Current Thread [Next in Thread]