Subject: bug#16966: [PATCH] grep: optimization with the superset of DFA

From: Norihiro Tanaka <[email-masked]>
Date: Wed, 02 Apr 2014 00:49:19 +0900

Hi Paolo,

> I'm worried that the "STAR" method will match basically everything.

If no normal char and/or CSET is included in the pattern, the superset
won't be used.

> We're using something like CSET{1,mb_cur_max} already for UTF-8, so the size increase for that should not be too bad.

We cannot apply its rule to non-UTF8 locales.

Norihiro