Possible, but better?
/(?=^.*abc)(?=^.*pqr)(?=^.*xyz)/ and print "$_:matched" for qw[ abcpqrxyz xyzpqrabc pqrxyzabc abpqrxyz];; abcpqrxyz:matched xyzpqrabc:matched pqrxyzabc:matched
In reply to Re: Single string pattern match
by BrowserUk
in thread Single string pattern match
by perlpal
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |