public RepeatCharacterRegexRule()
{
this(DEFAULT_SEQUENCE_LENGTH);
}
public RepeatCharacterRegexRule(final int sl)
<BUG>{
super(String.format(REPEAT_CHAR_REGEX, sl - 1));
</BUG>
if (sl < MINIMUM_SEQUENCE_LENGTH) {
throw new IllegalArgumentException(String.format("sequence length must be >= %s", MINIMUM_SEQUENCE_LENGTH));

public RepeatCharacterRegexRule()
{
this(DEFAULT_SEQUENCE_LENGTH);
}
public RepeatCharacterRegexRule(final int sl)
{
this(sl, true);
}
public RepeatCharacterRegexRule(final int sl, final boolean reportAll)
{
super(String.format(REPEAT_CHAR_REGEX, sl - 1), reportAll);
if (sl < MINIMUM_SEQUENCE_LENGTH) {
throw new IllegalArgumentException(String.format("sequence length must be >= %s", MINIMUM_SEQUENCE_LENGTH));
