Fixed char regex, add $end