Add options for exact or globa regex
Fix global regex
Add tests for exact and global regexps
Update the readme