<p>There are only two parameter available (-r|-R) for pattern search which return by default ok if matched and critical if not (as long as there is no --invert-regex param given). Some new parameters like -wr and -wR would be nice to do the same like -r or -R but will return warning instead of critical.<br>
As soon as both parameters would be given --invert-regex would be set by default and if both regex for warning and critical would match, critical would be returned.</p>

<p style="font-size:small;-webkit-text-size-adjust:none;color:#666;">—<br>Reply to this email directly or <a href='https://github.com/nagios-plugins/nagios-plugins/issues/1213'>view it on GitHub</a>.<img src='https://github.com/notifications/beacon/_EHT0K2RMtzboqJPrl-P-IGEiQJLXqskt8cRtfRsy8TaX-wi5x6cxnym7AARnSue.gif' height='1' width='1'></p>