in reply to Re: RegEx require
in thread RegEx require

It's probably faster just counting the digits
my %seen; grep $seen{$_}++, /./g