except is an operator that allows characters to be removed from a character class, thereby defining a new (smaller) character class. For example, whereas
digit is a character class that will match one of the digits
[digit except "0"]is a new character class that will match one of the digits
9, but not the digit
except can also be written using a backslash:
[digit \ "0"].