C# Class Rebel.Cms.Web.LinkSyntaxParser

Show file Open project: RebelCMS/rebelcmsxu5 Class Usage Examples

Public Properties

Property Type Description
HrefMatch System.Text.RegularExpressions.Regex
RebelSrcMatch System.Text.RegularExpressions.Regex
SrcMatch System.Text.RegularExpressions.Regex
TagMatch System.Text.RegularExpressions.Regex

Public Methods

Method Description
Parse ( string input, string>.Func linkFoundCallback ) : string

Finds an internal link amongst the input content (generally html) and renders the correct url into the output.

Method Details

Parse() public method

Finds an internal link amongst the input content (generally html) and renders the correct url into the output.
public Parse ( string input, string>.Func linkFoundCallback ) : string
input string The input.
linkFoundCallback string>.Func The link found callback.
return string

Property Details

HrefMatch public static property

public static Regex,System.Text.RegularExpressions HrefMatch
return System.Text.RegularExpressions.Regex

RebelSrcMatch public static property

public static Regex,System.Text.RegularExpressions RebelSrcMatch
return System.Text.RegularExpressions.Regex

SrcMatch public static property

public static Regex,System.Text.RegularExpressions SrcMatch
return System.Text.RegularExpressions.Regex

TagMatch public static property

public static Regex,System.Text.RegularExpressions TagMatch
return System.Text.RegularExpressions.Regex