characterClasses.add(DigitPattern.INSTANCE);
} else {
final String message = String.format(MessageFormat.format(
JGitText.get().characterClassIsNotSupported,
characterClass));
throw new InvalidPatternException(message, wholePattern);
}
pattern = matcher.replaceFirst(""); //$NON-NLS-1$
matcher.reset(pattern);
}