OptionalalphabetRestrict to characters in this explicit set. Mutually exclusive with other character options.
OptionalcategoriesInclude only characters from these Unicode general categories (e.g. ["L", "Nd"]).
OptionalcodecRestrict to characters encodable in this codec (e.g. "ascii", "utf-8", "latin-1").
OptionalexcludeExclude characters from these Unicode general categories.
OptionalexcludeAlways exclude these specific characters.
OptionalincludeAlways include these specific characters.
OptionalmaxMaximum Unicode codepoint (inclusive).
OptionalmaxOptionalminMinimum Unicode codepoint (inclusive).
Optionalmin
Options for character filtering, shared between text() and characters().
alphabetis a shorthand that setsincludeCharactersand clears categories. It cannot be combined with other character filtering options.