That did it, thanks.  I'd tried double-quotes but didn't think to look at singles

On Nov 3, 2013, at 10:17 AM, Josh Amishav-Zlatin <>

On Fri, Nov 1, 2013 at 5:23 PM, Macks, Aaron <> 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
Android is increasing in popularity, but the open development platform that
developers love is also attractive to malware creators. Download this white
paper to learn more about secure code signing practices that can help keep
Android apps secure.
mod-security-users mailing list
Commercial ModSecurity Rules and Support from Trustwave's SpiderLabs:

Aaron Macks
Systems Architect

Harvard Business Publishing
300 North Beacon St.    |   Watertown, MA 02472
(617) 783-7461                |   Fax: (617) 783-7467 |   Cell:(978) 317-3614