code: @Deprecated
    public static String getTaskAttemptIDsPattern(String jtIdentifier,
        Integer jobId, Boolean isMap, Integer taskId, Integer attemptId) {
      StringBuilder builder = new StringBuilder(ATTEMPT).append(SEPARATOR);
      builder.append(getTaskAttemptIDsPatternWOPrefix(jtIdentifier, jobId,
          isMap, taskId, attemptId));
      return builder.toString();
    }
docs: Returns a regex pattern which matches task attempt IDs. Arguments can
  be given null, in which case that part of the regex will be generic.
  For example to obtain a regex matching <i>all task attempt IDs</i>
  of <i>any jobtracker</i>, in <i>any job</i>, of the <i>first
  map task</i>, we would use :
  <pre>
  TaskAttemptID.getTaskAttemptIDsPattern(null, null, true, 1, null);
  </pre>
  which will return :
  <pre> "attempt_[^_]*_[0-9]*_m_000001_[0-9]*" </pre>
  @param jtIdentifier jobTracker identifier, or null
  @param jobId job number, or null
  @param isMap whether the tip is a map, or null
  @param taskId taskId number, or null
  @param attemptId the task attempt number, or null
  @return a regex pattern matching TaskAttemptIDs