added octal rules, match whitespace on end of exponent rule