Validate 'key' (e.g. status, type etc.) with case-insensitive RegExp test
Parameters:
Name | Type | Description |
---|---|---|
key |
The key to validate (to be constructed in RegExp) | |
value |
The value to test | |
isStrict |
If enabled, the regex will wrap the key with '^' and '$' symbol. Default to true. |