Removed limitation that regexp matcher accepts only string