variable.pregMatch¶
Arguments¶
as¶
- DataType
- string
- Required
- false
- Description
- Template variable name to assign; if not specified the ViewHelper returns the variable instead.
pattern¶
- DataType
- mixed
- Required
- false
- Description
- Regex pattern to match against
subject¶
- DataType
- mixed
- Required
- false
- Description
- String to match with the regex pattern
global¶
- DataType
- boolean
- Required
- false
- Description
- Match global