Help for this page
$_ = "a\001b"; m[(.)([^\1])] and print "$1|$2";
$_ = 'aaab'; m[(.)(?!\1)(.)] and print "$1|$2";