fix regex spec
allow queries like foo=(NOT bar)