match2

package
v0.4.3 Latest Latest
Warning

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

Go to latest
Published: Aug 6, 2025 License: Apache-2.0 Imports: 5 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func FindStackSubmatchIndex

func FindStackSubmatchIndex(stk []runtime.Frame, specs ...string) []int

FindStackSubmatchIndex searches stk for subexpressions described in specs. It returns a slice of offsets in groups of three. The first element in each group is number of leaf frames skipped before finding the subexpression. The next two elements are the start and end byte offsets within that frame's function name.

func HasStackRe

func HasStackRe(stk []runtime.Frame, specs ...string) bool

func TrimVendor

func TrimVendor(fn string) string

func ValidateRe

func ValidateRe(specs ...string) error

Types

This section is empty.

Jump to

Keyboard shortcuts

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