@Override
   public int matches( S sequenceA, int indexA, S sequenceB, int indexB, int count )
   {
      for (int i = 0; i < count; i++)
      {
         char a = sequenceA.charAt( indexA + i );
         char b = sequenceB.charAt( indexB + i );

         if (Character.toLowerCase( a ) != Character.toLowerCase( b ))
         {
            return i;
         }
      }

      return count;
   }