No, you are stuck with $foo ~~ m|xxx| && $foo ~~ m|yyy|
or $foo ~~ m|xxx .* yyy| (the latter assuming they always happen in that order; if they don't, you can only use the first.) On Tue, Jun 12, 2018 at 8:25 PM ToddAndMargo <toddandma...@zoho.com> wrote: > On 06/12/2018 05:19 PM, Brandon Allbery wrote: > > You're trying to do it all in one regex. That doesn't work; what you > > tried will attempt to test that the same *substring* of the regex > > matches both of those, which is not possible because they're both > > literal. So any given substring has to be one, the other, or neither, it > > can't simultaneously be both. > > So I am stuck with using "/" > > Thank you for the help. > > -T > -- brandon s allbery kf8nh sine nomine associates allber...@gmail.com ballb...@sinenomine.net unix, openafs, kerberos, infrastructure, xmonad http://sinenomine.net