Should this be a ~literal instead, and in that case you should be using literal-sets.