in reply to Re: match longest sequence in an "or" REin thread match longest sequence in an "or" RE
>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 [download]