Table of Contents
API reference

Method HttpRouteRegex

Namespace
DisCatSharp.Common.RegularExpressions
Assembly
DisCatSharp.Common.dll

HttpRouteRegex()

[GeneratedRegex(":([a-z_]+)", RegexOptions.Compiled|RegexOptions.ECMAScript)]
public static Regex HttpRouteRegex()

Returns

Regex

Remarks

Pattern:

:([a-z_]+)

Options:<br />
<pre><code class="lang-csharp">RegexOptions.Compiled | RegexOptions.ECMAScript</code></pre><br />
Explanation:<br />
<pre><code class="lang-csharp">○ Match ':'.

○ 1st capture group. ○ Match a character in the set [_a-z] atomically at least once.