Use isRegExp in Assertion::throwException. Fix #25
Merge pull request #26 from amasad/fix-25

Use isRegExp in Assertion::throwException. Fix #25