regax

package
v0.0.0-...-ada05ea Latest Latest
Warning

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

Go to latest
Published: Aug 15, 2013 License: Apache-2.0 Imports: 2 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type MutiRegAx

type MutiRegAx struct {
	Pattern string
	// contains filtered or unexported fields
}

MutiRegAx

func NewMutiRegAx

func NewMutiRegAx(pattern string) *MutiRegAx

func (*MutiRegAx) Match

func (mre *MutiRegAx) Match(text string) bool

type RegAx

type RegAx struct {
	Pattern string
	// contains filtered or unexported fields
}

RegAx is a very simple regexp match, '*' mean match anything, other mean match themself

func Compile

func Compile(s string) *RegAx

func (*RegAx) Match

func (re *RegAx) Match(text string) bool

func (RegAx) String

func (re RegAx) String() string

Jump to

Keyboard shortcuts

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