GNU bug report logs - #18777
[PATCH] dfa: improvement for checking of multibyte character boundary

Previous Next

Package: grep;

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

Date: Mon, 20 Oct 2014 15:05: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: Paul Eggert <eggert <at> cs.ucla.edu>
To: Norihiro Tanaka <ADS18022 <at> nifty.com>
Cc: 18777 <at> debbugs.gnu.org
Subject: bug#18777: [PATCH] dfa: improvement for checking of multibyte
Date: Wed, 20 Apr 2016 23:21:28 -0700
[Message part 1 (text/plain, inline)]
I'm attaching a revised patch, relative to the latest grep, to implement the 
idea of the Bug#18777 patch. This revision calls the new array "never_trail" 
instead of "always_character_boundary" to nail down the concept a bit more 
precisely. It also removes what appears to be an unnecessary p < mbp test, and 
adjusts to more-recent changes in the code.

I'm not installing this into the master branch on savannah, as we'd like to 
release a new 'grep' soon and this patch should probably wait until after the 
release.
[0001-dfa-speed-up-checking-for-character-boundary.patch (text/x-diff, attachment)]

This bug report was last modified 9 years and 74 days ago.

Previous Next


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