symmetricDifference(_:)

Returns a character class matching elements in one or the other, but not both, of this class and the given class.

Declaration

func symmetricDifference(_ other: CharacterClass) -> CharacterClass