To match a single character belonging to a particular category, we use the p{propertyName} directive.
To match a single character not belonging to a particular category, we use the P{propertyName} directive (note the uppercase P instead of the lowercase p).