# RegexPattern.Options.symmetricDifference(_:)

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

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

Returns a new option set with the elements contained in this set or in the given set, but not in both.

- Parameter other: An option set.
- Returns: A new option set with only the elements contained in either
  this set or `other`, but not in both.
