# window_copy_search_back_overlap

- **Language:** C
- **Kind:** function
- **Source:** https://github.com/tmux/tmux/blob/e476c1230b958df0cb12977517d24b3dc931375b/window-copy.c#L4075
- **Page:** https://libtmux.org/en/tmux/3.7c/reference/c-function-window-copy-c-window_copy_search_back_overlap/

```c
static void window_copy_search_back_overlap(struct grid *, regex_t *, u_int *, u_int *, u_int *, u_int)
```

## Parameters

- `gd` (`struct grid *`)
- `preg` (`regex_t *`)
- `ppx` (`u_int *`)
- `psx` (`u_int *`)
- `ppy` (`u_int *`)
- `endline` (`u_int`)

## Called by

- [`window_copy_search_jump`](/en/tmux/3.7c/reference/c-function-window-copy-c-window_copy_search_jump/) (function) [Call site](https://github.com/tmux/tmux/blob/e476c1230b958df0cb12977517d24b3dc931375b/window-copy.c#L4160)

## Calls

- [`window_copy_search_rl_regex`](/en/tmux/3.7c/reference/c-function-window-copy-c-window_copy_search_rl_regex/) (function) [Call site](https://github.com/tmux/tmux/blob/e476c1230b958df0cb12977517d24b3dc931375b/window-copy.c#L4095)

## Other function references

- [`grid_get_line`](/en/tmux/3.7c/reference/c-function-grid_get_line/) (function)

## Referenced declarations

- [`grid`](/en/tmux/3.7c/reference/c-struct-grid/) (struct)
- [`GRID_LINE_WRAPPED`](/en/tmux/3.7c/reference/c-define-tmux-h-grid_line_wrapped/) (constant)
- [`grid.sx`](/en/tmux/3.7c/reference/c-struct-grid-sx/) (attribute)
