On Fri, Nov 1, 2013 at 5:23 PM, Macks, Aaron <amacks@harvardbusiness.org> wrote:
I've got a bunch of rule-exceptions that need to allow multiple problematic-looking but valid arguments (or cookies).  The naive way to do that is:
I tried putting that as a single rule REGEX:
but it parsed the pipe as "next variable" and threw some errors*.  Is there a way to quote a regex in that section of config, or do i need to do it the naive way?

Hi Aaron,

You could use single quotes around your regex, e.g.:

SecRuleUpdateTargetById 12345 !ARGS:'/^(addresses|items|shippingInfo)$/'

 - Josh