From: Matthieu Moy Date: Fri, 12 Sep 2014 08:15:14 GMT Subject: Re: [PATCH v2 2/2] make config --add behave correctly for empty and NULL values Message-ID: In-Reply-To: <54129FE1.6020303@gmail.com> Tanay Abhra writes: > +const char CONFIG_REGEX_NONE[] = "a^"; I have a slight preference for this version (no magic (void *)1 value, and belts-and-suspenders solution since someone actually using the regex should still get a correct behavior. But I'm fine with both Junio/Peff's version or this one. -- Matthieu Moy http://www-verimag.imag.fr/~moy/