The chs module implements a character set. It supports the POSIX classes used in regular expressions.