GNU bug report logs - #16919
[PATCH] fix mismatch between dfa and regex for treatment of titlecase

Previous Next

Package: grep;

Reported by: Norihiro Tanaka <noritnk <at> kcn.ne.jp>

Date: Sun, 2 Mar 2014 00:34:01 UTC

Severity: normal

Tags: patch

Done: Paul Eggert <eggert <at> cs.ucla.edu>

Bug is archived. No further changes may be made.

Full log


View this message in rfc822 format

From: help-debbugs <at> gnu.org (GNU bug Tracking System)
To: Norihiro Tanaka <noritnk <at> kcn.ne.jp>
Subject: bug#16919: closed (Re: bug#16919: [PATCH] fix mismatch between
 dfa and regex for treatment of titlecase)
Date: Sat, 08 Mar 2014 02:34:02 +0000
[Message part 1 (text/plain, inline)]
Your bug report

#16919: [PATCH] fix mismatch between dfa and regex for treatment of titlecase

which was filed against the grep package, has been closed.

The explanation is attached below, along with your original report.
If you require more details, please reply to 16919 <at> debbugs.gnu.org.

-- 
16919: http://debbugs.gnu.org/cgi/bugreport.cgi?bug=16919
GNU Bug Tracking System
Contact help-debbugs <at> gnu.org with problems
[Message part 2 (message/rfc822, inline)]
From: Paul Eggert <eggert <at> cs.ucla.edu>
To: Jim Meyering <jim <at> meyering.net>
Cc: 16919-done <at> debbugs.gnu.org, Aharon Robbins <arnold <at> skeeve.com>,
 Norihiro Tanaka <noritnk <at> kcn.ne.jp>
Subject: Re: bug#16919: [PATCH] fix mismatch between dfa and regex for
 treatment of titlecase
Date: Fri, 07 Mar 2014 18:33:50 -0800
[Message part 3 (text/plain, inline)]
Jim Meyering wrote:
> That is my preference, too.

OK, thanks, I installed the attached patch, which should do just that, 
and I'm marking this bug as done.  I'll CC: this to Aharon since it 
might affect Gawk.

The code still needs cleanup but so far I'm just trying to fix bugs.
[0001-grep-fix-case-fold-mismatches-between-DFA-and-regex.patch (text/plain, attachment)]
[Message part 5 (message/rfc822, inline)]
From: Norihiro Tanaka <noritnk <at> kcn.ne.jp>
To: submit <at> debbugs.gnu.org
Subject: [PATCH] fix mismatch between dfa and regex for treatment of titlecase
Date: Sun, 02 Mar 2014 09:32:38 +0900
[Message part 6 (text/plain, inline)]
Package: grep
Tags: patch

I found difference between dfa and regex (glibc) treatment of titlecase.
In case-insensitive matching in UTF8 locale,  U+01C7 (LATIN CAPITAL LETTER
LJ) matches with U+01C8 (LATIN CAPITAL LETTER L WITH SMALL LETTER J on
regex, but it doesn't on dfa.

The patch fixes mismatch between dfa and regex for treatment of titlecase.

Norihiro
[patch.txt (application/octet-stream, attachment)]
[tests.txt (application/octet-stream, attachment)]

This bug report was last modified 11 years and 134 days ago.

Previous Next


GNU bug tracking system
Copyright (C) 1999 Darren O. Benham, 1997,2003 nCipher Corporation Ltd, 1994-97 Ian Jackson.