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 | |
---|---|---|
![]() | 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 |
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.) |
Name | Description | |
---|---|---|
![]() | AsValue |
Converts object to a query value which can be used as a query parameter
(Defined by QueryExtensions.) |
![]() | GetAPIString |
Gets the string by the specified resource key
(Defined by CoreExtensions.) |
![]() | GetString |
Gets the string by the specified resource key
(Defined by CoreExtensions.) |
![]() | ToBoolean |
Returns the boolean representation of an object or default value if not.
(Defined by CoreExtensions.) |
![]() | ToDateTime |
Returns the DateTime representation of an object or default value if not.
(Defined by CoreExtensions.) |
![]() | ToDouble |
Returns the double representation of an object or default value if not.
(Defined by CoreExtensions.) |
![]() | ToGuid |
Returns the Guid representation of an object or default value if not.
(Defined by CoreExtensions.) |
![]() | ToInteger |
Returns the integer representation of an object or default value if not.
(Defined by CoreExtensions.) |
![]() | ToString |
Returns the string representation of an object or default value if not.
(Defined by CoreExtensions.) |
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.) |