in reply to match longest sequence in an "or" RE
$ say /^.+(s m e f|s f pl|s f).+$/ for "-s f-", "-s f pl-"; s f s f pl
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re^2: match longest sequence in an "or" RE
by AnomalousMonk (Archbishop) on Sep 24, 2011 at 19:13 UTC |