bug-grep
[Top][All Lists]
Advanced

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

bug#21266: [PATCH] dfa: simplify for non-POSIX locales


From: Norihiro Tanaka
Subject: bug#21266: [PATCH] dfa: simplify for non-POSIX locales
Date: Sun, 13 Sep 2015 16:12:50 +0900

Norihiro Tanaka <address@hidden> wrote:
> I do not distinguish between eol and newline in previous patch, so I
> fixed it.   In addition, I wrote the patch that dfa does not distingish
> letter and not letter in non-POSIX locales.

Previous two patches was buggy.  e.g. the line is returned in following
test case after patching.

  printf 'a00000000000000000000000000000000000000b\n' >in
  LC_ALL=ja_JP.eucJP src/grep '^..............................$' in

I fixed the bug, and improved other unexpected behaviors.  In addition,
removed unused member `mb_match_lens' of struct dfa.

Attachment: 0001-dfa-simplify-for-non-POSIX-locales.patch
Description: Text document

Attachment: 0002-dfa-not-distingish-letter-and-not-letter-in-non-POSI.patch
Description: Text document


reply via email to

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