# LibTmux::Model::WindowSelection.grep

- **Module:** LibTmux::Model
- **Package:** LibTmux
- **Language:** Raku
- **Kind:** method
- **Source:** https://github.com/libtmux/libtmux-raku/blob/0b5dd3d32e20f83a0069874e33eab0eb48f55962/lib/LibTmux/Selection.rakumod#L51
- **Inherited from:** LibTmux::Selection::Selection
- **Page:** https://libtmux.org/en/raku/latest/reference/libtmux-model-windowselection-grep/

```
method grep(|capture)
```

Use native matching and adverbs, returning a Seq rather than another selection.

Use native matching and adverbs, returning a Seq rather than another selection.

## Parameters

- `capture`
