replaced !~ with ===

I checked the performance of `!~` vs `===` with `process.hrtime`.
`===` is faster.