typo in history
Support {a: {$regex: '', $options: 'i'}}

Fixes #1874.
arguably support empty regexs in file watcher