# RegexPattern.Options.formIntersection(_:)

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

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

Removes all elements of this option set that are not also present in the given set.

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

- Parameter other: An option set.
