CMSRegex Class |
Namespace: CMS.Base
public class CMSRegex : CMSLazy<Regex>
The CMSRegex type exposes the following members.
Name | Description | |
---|---|---|
CMSRegex(String, Boolean) |
Constructor
| |
CMSRegex(String, RegexOptions) |
Constructor
|
Name | Description | |
---|---|---|
IgnoreCase |
Defines the options for ignoring case within regular expression
|
Name | Description | |
---|---|---|
AllowCloneForNewThread |
If true, the item is copied for the new thread
(Inherited from CMSLazyTValue.) | |
DefaultValue |
Default value
(Inherited from CMSLazyTValue.) | |
Initializer |
Value initialization function
(Inherited from CMSLazyTValue.) | |
IsValueCreated |
Returns true if the value was already created
(Inherited from CMSLazyTValue.) | |
RequestStockKey |
Defines the key under which the object value should be stored in the request stock helper. If set, the object exists only within the particular request
(Inherited from CMSLazyTValue.) | |
Value |
Gets or sets the object value
(Inherited from CMSLazyTValue.) |
Name | Description | |
---|---|---|
CanInitialize |
Returns true, if the object value can initialize
(Inherited from CMSLazyTValue.) | |
EnsureCorrectOptions |
Adds CultureInvariant option when there is ignore case to ensure correct behavior in Turkish culture.
| |
FromItems | Obsolete.
Gets the lazy value from the given items
(Inherited from CMSLazyTValue.) | |
GetDefaultOptions |
Gets the default options for a regular expression
| |
IsMatch |
Returns true if the given pattern is found within the input string
| |
Match |
Searches the specified input string for the first occurrence of the regular expression
| |
Matches |
Searches the specified input for all recurrences of regular expression
| |
NewValue |
Creates a new value using the initializer
(Inherited from CMSLazyTValue.) | |
Replace(String, MatchEvaluator) |
Replaces the specified pattern within the given input with the given replacement
| |
Replace(String, String, Boolean) |
Replaces the specified pattern within the given input with the given replacement
| |
Reset |
Resets the state of the object to re-initialize the value on the next request
(Inherited from CMSLazyTValue.) |