>perl -wMstrict -lE "say /^.+(s m e f|s f pl|s f).+$/ for '-s m e f s f pl s f-'; " s f
In reply to Re^2: match longest sequence in an "or" RE
by AnomalousMonk
in thread match longest sequence in an "or" RE
by silentius
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |