Help for this page

Select Code to Download


  1. or download this
    perl -Mre=debug -le 'print /(.)[^\1]\1/ ? "match" : "no match"'
    
    ...
       6: ANYOF[\0\2-\377{unicode_all}](17)
      17: REF1(19)
      19: END(0)
    
  2. or download this
    perl -le '$_ = "B\1B"; print /(.)[^\1]\1/ ? "match" : "no match"'