Add readme doc for `options.pattern`, and fix `config` to `options`.