Allow parentheses in -k expressions