Jim Meyering <jim <at> meyering.net> writes:
> However, rather than changing sc_const_long_option to avoid
> sc_redundant_const triggering on it's regexp, I've chosen to use
> a stricter regexp in the new rule so we don't have to twist the
> other rule:
>
> grep -E '\bconst\b[[:space:][:alnum:]]{2,}\bconst\b' ...
Nice. But that lets "static const const int" fall through the cracks. Why not
use + instead of {2,}?
--
Eric Blake