On Mon, Nov 04, 2013 at 05:28:22PM -0800, John Johansen wrote:
> > + //MY_REGEX_TEST("\\", "\\", ePatternBasic);
> > + MY_REGEX_TEST("\\\\", "\\\\", ePatternBasic);
> > + //MY_REGEX_TEST("\\blort", "\\blort", ePatternBasic);
> > + MY_REGEX_TEST("\\\\blort", "\\\\blort", ePatternBasic);
> > + //MY_REGEX_TEST("blort\\", "blort\\", ePatternBasic);
> why are these 3 commented out?Since I'm no fan of commented-out code I very nearly commented on them :) but then I realized that they are there to document what the next line _actually_ tests, since the first backslashes are there to escape C quoting rules. Their presence put me in the right state of mind to read the rest of the rules. :)
signature.asc
Description: Digital signature
-- AppArmor mailing list [email protected] Modify settings or unsubscribe at: https://lists.ubuntu.com/mailman/listinfo/apparmor
