Class: RegExpValidator
A utility class that takes a array of string or string transformed into regex that includes a start line and end line
Extended by
Constructors
new RegExpValidator(info)
new RegExpValidator(
info
):RegExpValidator
Parameters
• info: string
| string
[]
Returns
Source
packages/core/src/services/service.ts:187
Properties
validators
protected
validators:RegExp
[]
Source
packages/core/src/services/service.ts:186
Methods
validate()
validate(
value
):boolean
Parameters
• value: string
Returns
boolean
Source
packages/core/src/services/service.ts:202
getRegExp()
static
getRegExp(reg
):RegExp
Parameters
• reg: string
Returns
RegExp