This library wraps the .NET RegEx object in a composable F# type and allows you to write regular expressions in natural language. Lazy evaluation ensures composition imposes no performance penalty.
- Documentation: FsVerbalExpressions
- Nuget: FsVerbalExpressions
For enhanced debugging and API documentation experience, FsVerbalExpressions proudly implements SourceLink
Expanding and enhancing the Verbal Expression language for F# is not currently a major focus, unless users request some specific use cases.
Enhancing the regular expression composition experience is currently the major focus. See:
- Functions for static Regex methods
- MatchCollection, CaptureCollection, GroupCollection natively as arrays
Pull requests welcome so long as
- they include excellent unit test coverage
- they include correct intellisense documentation
- they adhere to the concepts of composability and Verbal Expressions
FsVerbalExpressions adheres to Semantic Versioning. So long as the project is pre-1.0.0 minor versions may be breaking. Once the project reaches 1.0.0 minor enhancements will be backwards-compatible.
You can see an up to date list of all ports of Verbal Expressions on VerbalExpressions.
Giving credit where credit is due, the CSharpVerbalExpressions was a great help in providing pre-made unit tests and inspiration for .NET specific functionality.