# RegexPattern.Options.formSymmetricDifference(_:)

- **Module:** RegexPattern.Options
- **Package:** libtmux-swift
- **Language:** Swift
- **Kind:** method
- **Page:** https://libtmux.org/reference/swift/regexpattern-options-formsymmetricdifference(_-)/

```
RegexPattern.Options.formSymmetricDifference(_:)(other: Self) -> ()
```

Replaces this set with a new set containing all elements contained in either this set or the given set, but not in both.

This method is implemented as a `^` (bitwise XOR) operation on the two
sets' raw values.

- Parameter other: An option set.
