Updated regexp in check_privilege module.