For example, when used in the code below nothing s returned./^(?=.*a)(?=.*b)(?=.*c).*d/
echo bacd| perl -ne '/^(?=.*a)(?=.*b)(?=.*c).*d/; print "$1 $2 $3\n";'
In reply to Re^2: How to replace greedy alternation?
by Anonymous Monk
in thread How to replace greedy alternation?
by adamcrussell
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |