I'm possibly missing something since all the other responses are so complex, but here goes anyway:
my @test = qw/abc aab abb aba/; for (@test) { say if not /(.).*?\1/; }
In reply to Re: Nonrepeating characters in an RE
by Anonymous Monk
in thread Nonrepeating characters in an RE
by BernieC
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |