Fix zero width match

're-search-forward' does not move point if regexp matches empty string
like '$', '^', '\\=' etc. This may cause infinite loop. So point must
be forwarded when regexp matches empty string for avoiding infinite loop.
Merge pull request #9 from syohex/fix-zero-width-match

Fix zero width match