Fare 2.2.2

Fare - [F]inite [A]utomata and [R]egular [E]xpressions

Project Fare is an effort to bring a DFA/NFA (finite-state automata) implementation from Java to .NET. There are quite a few implementations available in other languages today. This project aims to fill the gap in .NET.

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.

Is my Regular Expression supported?

Probably yes.

Keep in mind though that Project Fare turns Regular Expressions into Automatons by applying the algorithms of dk.brics.automaton and xeger.

If your Regular Expression isn't supported, it would make sense to debug the C# code but also compare with the results from xeger.

As an alternative, you may use a different pattern or even use a different engine to reverse the Regular Expression into an Automaton. As an example, you can use the Rex engine.

Design changes

Based on version 1.11-8 of dk.brics.automaton released on September 7, 2011. [ChangeLog] (http://www.brics.dk/automaton/ChangeLog)

NuGet package

Fare is available via NuGet.

Versioning

Fare reached version 1 without following a particular versioning scheme. From version 1 and above, Fare follows Semantic Versioning 2.0.0.

Which projects use Fare?

Fare is used in:

Showing the top 20 packages that depend on Fare.

Packages Downloads
AutoFixture
AutoFixture makes it easier for developers to do Test-Driven Development by automating non-relevant Test Fixture Setup, allowing the Test Developer to focus on the essentials of each test case.
10
AutoFixture
AutoFixture makes it easier for developers to do Test-Driven Development by automating non-relevant Test Fixture Setup, allowing the Test Developer to focus on the essentials of each test case.
9
AutoFixture
AutoFixture makes it easier for developers to do Test-Driven Development by automating non-relevant Test Fixture Setup, allowing the Test Developer to focus on the essentials of each test case.
8

.NET Framework 3.5

  • No dependencies.

.NET Standard 1.1

.NET Standard 2.0

  • No dependencies.

Version Downloads Last updated
2.2.2 1 4/16/2026
2.2.1 8 3/20/2025
2.2.0 8 3/20/2025
2.1.2 9 3/20/2025
2.1.1 9 3/20/2025
2.1.0 8 3/20/2025
2.0.0 8 3/20/2025
1.1.0 8 3/20/2025
1.0.4 9 3/20/2025
1.0.3 9 3/20/2025
1.0.2 9 3/20/2025
1.0.1 9 3/20/2025
1.0.0 9 3/20/2025