Skip to content

Latest commit

 

History

History
79 lines (46 loc) · 2.72 KB

File metadata and controls

79 lines (46 loc) · 2.72 KB

Pattern.SurroundSquareBrackets Method

Home

Containing Type: Pattern

Assembly: Pihrtsoft.Text.RegularExpressions.Linq.dll

Overloads

Method Summary
SurroundSquareBrackets() Appends a pattern that matches a text consisting of left and right square bracket, allowing zero or more characters that are not a right square bracket between the brackets.
SurroundSquareBrackets(Object) Appends a pattern that matches specified pattern surrounded with left and right square bracket.
SurroundSquareBrackets(Object[]) Appends a pattern that matches specified content surrounded with left and right square bracket.

SurroundSquareBrackets()


Appends a pattern that matches a text consisting of left and right square bracket, allowing zero or more characters that are not a right square bracket between the brackets.

public Pihrtsoft.Text.RegularExpressions.Linq.Pattern SurroundSquareBrackets()

Returns

Pattern

SurroundSquareBrackets(Object)


Appends a pattern that matches specified pattern surrounded with left and right square bracket.

public Pihrtsoft.Text.RegularExpressions.Linq.Pattern SurroundSquareBrackets(object content)

Parameters

contentObject

The content to be matched.

Returns

Pattern

Exceptions

ArgumentNullException

content is null.

SurroundSquareBrackets(Object[])


Appends a pattern that matches specified content surrounded with left and right square bracket.

public Pihrtsoft.Text.RegularExpressions.Linq.Pattern SurroundSquareBrackets(params object[] content)

Parameters

contentObject[]

An object array that contains zero or more patterns any one of which has to be matched.

Returns

Pattern

Exceptions

ArgumentNullException

content is null.