saves some bytes ;)

This does the same work as before but uses better matching technique.
Merge pull request #60 from santosh/patch-1

Use matching technique to reduce file size.