MatchSpecification.

MatchSpecification(string, RegexOptions) Constructor

Summary

Creates Specification for given pattern.

Syntax

[PublicAPI]
public MatchSpecification(string regexPattern, RegexOptions options = null)

Attributes

Type Description
PublicAPI

Parameters

Name Type Description
regexPattern string Regex pattern.
options RegexOptions Regex matching options.

Return Value

Type Description
void

Exceptions

Type Description
System.ArgumentException Thrown when regexPattern is null or empty.
GitHub