MetalamaAPI documentationPatterns APIMetalama.​Patterns.​ContractsContract­HelpersGet­Regex
Open sandboxFocus

ContractHelpers.GetRegex Method

GetRegex(String, RegexOptions)

Gets a cached regular expression. This method is used by JetBrains.Annotations.RegexPatternAttribute.

Declaration
public static Regex GetRegex(string pattern, RegexOptions options)
Parameters
Type Name Description
System.String pattern
System.Text.RegularExpressions.RegexOptions options
Returns
Type Description
System.Text.RegularExpressions.Regex
See Also