regex

package
v1.1.0 Latest Latest
Warning

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

Go to latest
Published: Jan 28, 2025 License: MIT Imports: 2 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func Determine

func Determine(item string, include []string, exclude []string) bool

Determine check if an item matches with the include and not with the excludes, if either one is 0

func IsMatch

func IsMatch(item string, patterns ...string) bool

IsMatch checks the given item against all the provided arguments, expected that the patterns is a regex string

Types

This section is empty.

Jump to

Keyboard shortcuts

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