Table of Contents

Method Expand

Namespace
DocWright.Dom.Editing
Assembly
DocWright.Dom.dll

Expand(string, TextMatch)

The replacement Word makes for a wildcard match: \1 to \9 are the match's groups, ^& the whole match, ^t a tab, ^^ a caret, </code> makes the next character literal.

public static string Expand(string replacement, TextMatch match)

Parameters

replacement string

The replacement as typed.

match TextMatch

The match.

Returns

string

The text that replaces it.

Exceptions

ArgumentNullException

An argument is null.