add match regex example
avoid seek error on a newly created no-newline file
Add Match pattern
fix config
fix typo