in reply to Match 2 same characters
Update: The literal solution could be obtained using /(.)\1/ (see perlre).