It looks like you may need:
if ( $args !~ /\-rs(\s+)(\S+)/ && $args !~ /\-p(\s+)(\S+)/ && $args !~ + /\-P(\s+)(\S+)/ ) { $args .= " --rs $str"; }
In reply to Re: regex return true instead of false
by jwkrahn
in thread regex return true instead of false
by ovedpo15
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |