/^((??{'[^\D'.join('',@c,push @c,$1).']'}))*$/ [download]
In reply to Re: regexp golf - homework by Ido in thread regexp golf - homework by Boots111