Improve regexps for "info" and "error" (Fix #8)