^\s*password\s+requisite\s+(/lib/security/$ISA/)?pam_cracklib.*lcredit=([0123456789-]+)
If this doesn't do what you intended, provide some sample input and output. See perlre or perlretut for more info.
In reply to Re: Test RegEx
by kennethk
in thread Test RegEx
by Saved
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |