| Pattern | Meaning |
| (??p) | Match a Unicode punctuation character. |
| (??uc) | Match an upper case Unicode character. |
| (??lc) | Match a lower case Unicode character. |
| (??P) | Match a character that is not a Unicode
punctuation character. |
| (??s) | Match a Unicode white space character. |
| (??S) | Match a character that is not a Unicode
white space character. |
| (??w) |
Match a Unicode alphabetic, decimal digit, or the '_' character.
|
| (??W) |
Match a character that is neither an alphabetic, a decimal digit,
nor the '_' character.
|
| (??d) | Match a Unicode decimal digit character |
| (??D) | Match a character that is not a Unicode
decimal digit character. |
| (??m) | Match a Unicode math character |
| (??M) | Match a character that is not a Unicode Math character. |
| (??c) | Match a Unicode currency symbol character |
| (??C) | Match a character that is not a
Unicode currency symbol. |
| (??a) | Match an alphabetic Unicode character. |
| (??A) | Match a non-alphabetic Unicode character. |