regex

package
v1.0.0 Latest Latest
Warning

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

Go to latest
Published: Jun 5, 2023 License: MIT Imports: 1 Imported by: 0

Documentation

Overview

Package regex converts regular expressions into finite automata that accept them but is incomplete at this time.

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func RegexToNFA

func RegexToNFA(r string) automaton.NFA[string]

RegexToDFA is incomplete and currently returns an empty NFA[string]. When complete, it will take the given regular expression and converts it into a DFA.

This is an implementation of algorithm 3.23 "The McNaughton-Yamada-Thompson algorithm to convert a regular expression to an NFA."

Types

This section is empty.

Jump to

Keyboard shortcuts

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