C# Class Pomona.IO.PathHelper

Show file Open project: Pomona/Pomona

Public Methods

Method Description
MatchUrlPathSpec ( string input, string pattern ) : bool
SpecToRegex ( string spec ) : string

Private Methods

Method Description
AppendRegexEscapedChar ( StringBuilder sb, char c ) : void
PathHelper ( ) : System

Method Details

MatchUrlPathSpec() public static method

public static MatchUrlPathSpec ( string input, string pattern ) : bool
input string
pattern string
return bool

SpecToRegex() public static method

public static SpecToRegex ( string spec ) : string
spec string
return string