has checker supports regexs

Fixes issue #173