regex

package
v1.0.0 Latest Latest
Warning

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

Go to latest
Published: Jun 7, 2026 License: MIT Imports: 3 Imported by: 0

Documentation

Index

Constants

View Source
const MatchTimeout = time.Second

MatchTimeout bounds regexp2 backtracking for conditional regex matches.

Variables

This section is empty.

Functions

func Compile

func Compile(pattern string, flags string) (*regexp2.Regexp, error)

Compile validates and compiles a server-compatible conditional regexp.

func Validate

func Validate(pattern string) error

Validate rejects regexp features unsupported by the Buildkite server conditional regexp validator.

Types

This section is empty.

Jump to

Keyboard shortcuts

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