syntaxtest

package
v0.0.0-...-0bbbf19 Latest Latest
Warning

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

Go to latest
Published: Oct 16, 2024 License: MIT Imports: 2 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func Compile

func Compile(t testing.TB, re *syntax.Regexp) *syntax.Prog

Compile compiles the regexp into a program to be executed. The regexp should have been simplified already (returned from re.Simplify).

func Parse

func Parse(t testing.TB, s string, flags syntax.Flags) *syntax.Regexp

Parse parses a regular expression string s, controlled by the specified Flags, and returns a regular expression parse tree. The syntax is described in the top-level comment.

Types

This section is empty.

Jump to

Keyboard shortcuts

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