fix LOGBACK-971 CharSequenceToRegexMapper#findMinMaxLengthsInSymbols() always returns min=0