http://www.perlmonks.org?node_id=998328


in reply to Re^2: RegEx + vs. {1,}
in thread RegEx + vs. {1,}

Indeed. There can never be a three character sequence in your string which occurs more frequently than a two character sequence. (Because the three character sequence contains two two character sequences.)

perl -E'sub Monkey::do{say$_,for@_,do{($monkey=[caller(0)]->[3])=~s{::}{ }and$monkey}}"Monkey say"->Monkey::do'