in reply to RegEx for the same character repeating N times

Try this:  m/(.)\1{9,}/. This should match any character followed by 9 or more occurences of itself./p>

--- print map { my ($m)=1<<hex($_)&11?' ':''; $m.=substr('AHJPacehklnorstu',hex($_),1) } split //,'2fde0abe76c36c914586c';