Update CharSequenceToRegexMapper.java

if 
symbol.length is bigger then 0.
then 
check min and max

http://jira.qos.ch/browse/LOGBACK-971