re

package
v1.11.0 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Feb 10, 2026 License: MIT Imports: 6 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func FindAllImage

func FindAllImage(
	pattern *regexp.Regexp,
	i image.Image,
	from, to geom.Vec2,
) (loc []search.Selection)

FindAllImage finds all matches of `pattern` in `i` in the region specified by `from` and `to`. `to` is exclusive.

func FindAllLine

func FindAllLine(pattern *regexp.Regexp, line emu.Line) (loc [][]int)

FindAllLine returns all matches of `re` in `line`.

func FindLine

func FindLine(pattern *regexp.Regexp, line emu.Line) (loc []int)

FindLine looks for a single match of `re` in `line`.

func MakePattern

func MakePattern(pattern string) *regexp.Regexp

Types

This section is empty.

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL