Sync 'pattern' also. Log about sync.
Merge pull request #4 from jean/master

Sync 'pattern' also