6 references to RegexRouteConstraint
Microsoft.AspNetCore.Routing (1)
Constraints\AlphaRouteConstraint.cs (1)
23public AlphaRouteConstraint() : base(GetAlphaRouteRegex())
Microsoft.AspNetCore.Routing.Tests (3)
Constraints\RegexRouteConstraintTests.cs (3)
49var constraint = new RegexRouteConstraint(new Regex("^abc$")); 68var constraint = new RegexRouteConstraint(new Regex("^abc$")); 87var constraint = new RegexRouteConstraint(new Regex("^abc$"));
RoutingSandbox (1)
UseRouterStartup.cs (1)
34constraints: new { lastName = new RegexRouteConstraint(new Regex("[a-zA-Z]{3}", RegexOptions.CultureInvariant, RegexMatchTimeout)) });
RoutingWebSite (1)
UseRouterStartup.cs (1)
34constraints: new { lastName = new RegexRouteConstraint(new Regex("[a-zA-Z]{3}", RegexOptions.CultureInvariant, RegexMatchTimeout)) });