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

2013-09-22 Thread Jim Meyering
Here's a test for the original problem, which is also fixed by the preceding patch: 0004-tests-ensure-neither-s-nor-S-matches-an-invalid-mult.patch Description: Binary data

bug#15440: [PATCH] dfa: fix \s and \S to work for multibyte

2013-09-22 Thread Jim Meyering
This one really surprised me. Learning that multibyte \s and \S had been broken since grep-2.6 did not make my day. But fixing it helped. Here's how it started: To demonstrate the (first)bug, set up to use a UTF8 locale: export LC_ALL=en_US.UTF-8 then run this and note that it matches:

bug#15439: [PATCH] dfa: remove dead disjunct

2013-09-22 Thread Jim Meyering
I was surprised to find this dead code in dfa.c. This removes it: 0002-dfa-remove-dead-disjunct.patch Description: Binary data

bug#15438: [PATCH] maint: dfa: improve comments and formatting

2013-09-22 Thread Jim Meyering
Here's some no-semantic-change cleanup: 0001-maint-dfa-improve-comments-and-formatting.patch Description: Binary data