Fix typo related to invalid regex handle errors.
Merge pull request #130 from VoiDeD/regex-errors

Fix typo related to invalid regex handle errors.