Nancy.RouteHelpers/RouteParameters.cs
/// <summary>
/// Creates a route that expects at least one string, for example, /mac
/// </summary>
/// <param name="NamedGroup">The name of the parameter in the route</param>
/// <returns></returns>
Creates a route that expects at least one string, for example, /mac
Creates a route that expects at least one string for example / mac
public RouteParameters AnyStringAtLeastOnce(string NamedGroup)
        {
            RouteBuilder.Append(@"(?<" + NamedGroup + @">[\S]+)");
            return this;
        }
public RouteParameters AnyStringAtLeastOnce ( string NamedGroup ) { RouteBuilder . Append ( @"(?<" + NamedGroup + @">[\S]+)" ) ; return this ; }
Creates a route that expects at least one string, for example, /mac
Creates a route that expects at least one string for example / mac
None
NamedGroup
string
The name of the parameter in the route
The name of the parameter in the route