logo

Fare - Finite Automata/Regex in .NET

Fare is an effort to bring a DFA/NFA (finite-state automata) implementation from Java to .NET. It was primarily created as an internal library in AutoFixture for supporting the RegularExpressionAttribute class.

Fare is a .NET port of the well established Java library dk.brics.automaton with API as close as possible to the corresponding dk.brics.automaton classes.

Fare also includes a port of Xeger which is a Java library for generating random text from regular expressions. The latter is possible in .NET using the Rex tool.

Source code on GitHub, binaries on NuGet.