Published 24th of November, 2011, by Nikos Baxevanis. Tagged as autofixture, fare.

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.



Wish to comment?

You can comment on this post on GitHub. Alternatively, you can discuss this post on Twitter or elsewhere with a permalink. Ping me with the link, and I may respond.