VerbalExpressions/CSharpVerbalExpressions
VerbalExpressions/CSharpVerbalExpressions has 1,176 GitHub stars and 101 forks. Star changes are not measured yet. Last checked 2026-11-09 08:49 UTC. Last push 2026-03-09.
VerbalExpressions is a CSharp library that helps to construct difficult regular expressions.
측정된 스타 증가
- in 24h
- 업데이트 지연
- in 7 days
- 업데이트 지연
- in 15 days
- 업데이트 지연
- in 1 month
- 업데이트 지연
서로 겹치는 기간의 순증가량이며 일별 합계가 아닙니다. 측정값이 없으면 비워 둡니다. 스타는 관심도를 나타내며 품질을 보장하지 않습니다.
README.md
OriginalCSharpVerbalExpressions
CSharp Regular Expressions made easy
VerbalExpressions is a CSharp library that helps to construct difficult regular expressions.
NuGet
Install-Package VerbalExpressions-official
How to get started
When first building the solution there will be external libraries that are missing since GitHub doesn't include DLLs. The best way to get these libraries into your solution is to use NuGet. However, since the project is now using NuGet Package Restore, manually installing the packages may not be necessary. Below lists the libraries that are required if manual installing is needed.
The libraries that are needed to build are the following:
- NUnit
Examples
Here's a couple of simple examples to give an idea of how VerbalExpressions works:
Testing if we have a valid URL
[TestMethod]
public void TestingIfWeHaveAValidURL()
{
// Create an example of how to test for correctly formed URLs
var verbEx = new VerbalExpressions()
.StartOfLine()
.Then( "http" )
.Maybe( "s" )
.Then( "://" )
.Maybe( "www." )
.AnythingBut( " " )
.EndOfLine();
// Create an example URL
var testMe = "https://www.google.com";
Assert.IsTrue(verbEx.Test( testMe ), "The URL is incorrect");
Console.WriteLine("We have a correct URL ");
}
API documentation
Coming...
Other implementations
You can view all implementations on VerbalExpressions.github.io