repike

package
v0.28.0 Latest Latest
Warning

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

Go to latest
Published: Dec 21, 2023 License: MIT Imports: 0 Imported by: 0

Documentation

Overview

Package repike is a Go rewrite of Rob Pike's regex matcher that handles:

c    matches any literal character c
.    matches any single character
^    matches the beginning of the input string
$    matches the end of the input string
*    matches zero or more occurrences of the previous character

Level: advanced Topics: algorithms, design

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func Match

func Match(regexp, text string) bool

Match reports whether regexp matches anywhere in text.

Types

This section is empty.

Directories

Path Synopsis

Jump to

Keyboard shortcuts

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