rxps

package
v0.7.7 Latest Latest
Warning

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

Go to latest
Published: Sep 8, 2024 License: Apache-2.0 Imports: 1 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

View Source
var (
	RxFieldKey = rxp.Pattern{
		rxp.IsFieldKey("c"),
	}
	RxKeywords = rxp.Pattern{
		rxp.IsKeyword("c"),
	}

	RxLanguageKey = rxp.Pattern{
		rxp.Text("language:"),
		IsLanguageKey("+", "c"),
		rxp.S("*"),
	}
)

Functions

func IsLanguageKey

func IsLanguageKey(flags ...string) rxp.Matcher

IsLanguageKey creates a Matcher equivalent to:

(?:\*|[a-z][-a-zA-Z]+)

Types

This section is empty.

Jump to

Keyboard shortcuts

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