[JS/TS] Don't declare regex with flags in an object property
While I was writing the package: thiis I found one problem with regex when I tried add a new property...
Tags: javascript, typescript, is, validation