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
String pattern
RegexOptions options
Returns
Type Description
Regex
See Also