Class RegexUtils
Inheritance
System.Object
RegexUtils
Namespace: DotNetNuke.Common.Utilities
Assembly: DotNetNuke.dll
Syntax
public class RegexUtils : object
Methods
| Improve this Doc View SourceGetCachedRegex(String, RegexOptions, Int32)
Creates and caches a Regex object for later use and retrieves it in a later call if it is cached.
Declaration
public static Regex GetCachedRegex(string pattern, RegexOptions options = null, int timeoutSeconds = 2)
Parameters
Type | Name | Description |
---|---|---|
System.String | pattern | |
RegexOptions | options | |
System.Int32 | timeoutSeconds |
Returns
Type | Description |
---|---|
Regex | The |