parser

package
v0.0.0-...-f293d56 Latest Latest
Warning

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

Go to latest
Published: Jun 29, 2025 License: BSD-3-Clause Imports: 3 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Contextualizer

type Contextualizer struct {
	ID          string
	Expressions map[string]*regexp.Regexp
	Checks      *PrivateChecks
}

func NewContextualizer

func NewContextualizer(checks *PrivateChecks) *Contextualizer

func (*Contextualizer) GetMatches

func (c *Contextualizer) GetMatches(text string, kind string, regex *regexp.Regexp) []Match

type Match

type Match struct {
	Value string
	Type  string
}

type PrivateChecks

type PrivateChecks struct {
	Ipv4   bool
	Ipv6   bool
	Domain bool
}

Jump to

Keyboard shortcuts

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