Checks for usage of EReg literals (between ~/ and /) instead of new.
Configuration
{
"type": "ERegLiteral",
"props": {
"severity": "ERROR"
}
}
Valid
Invalid
var reg:EReg = new EReg("test", "i");
Bad EReg instantiation, define expression between ~/ and /