[Open-scap] How to pass regex modifiers to pattern match operation in OVAL

Pravin Goyal pravin.goyal at outlook.com
Thu Jun 2 04:38:53 UTC 2016


Hi,

I need to pass some regex modifiers in my pattern matches. The regular PCRE stuff is not working. Is there a specific way I need to provide them in OpenSCAP?


My regex is


/\n\s*restart\)(?:(?:(?![#"]|;;).)|\#[^\n]*\n|"[^"]*?")*?\K(haproxy_check)/gsix


Now, how do I pass those modifiers 'gsix' in my pattern match operator for OVAL assessments?


Thanks and regards,

Pravin Goyal


-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://listman.redhat.com/archives/open-scap-list/attachments/20160602/6655ad30/attachment.htm>


More information about the Open-scap-list mailing list