ircmatch

package
v0.0.0-...-05ecc95 Latest Latest
Warning

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

Go to latest
Published: Jul 13, 2019 License: ISC Imports: 1 Imported by: 0

Documentation

Overview

Package ircmatch handles matching IRC strings with the traditional glob-like syntax.

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Matcher

type Matcher struct {
	// contains filtered or unexported fields
}

Matcher represents an object that can match IRC strings.

func MakeMatch

func MakeMatch(globTemplate string) Matcher

MakeMatch creates a Matcher.

func (*Matcher) Match

func (menfa *Matcher) Match(search string) bool

Match returns true if the given string matches this glob.

Jump to

Keyboard shortcuts

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