{"ScriptPreparationCode":null,"TestCases":[{"Name":"regex-short","Code":"const alpha = \u0022Alpha\u0022;\r\nconst upperAlpha = \u0022ALPHA\u0022;\r\nconst lowerAlpha = \u0027alpha\u0027;\r\nconst regexAlpha = new RegExp(/alpha/i);\r\nvar output;\r\n\r\noutput = regexAlpha.test(alpha);\r\noutput = regexAlpha.test(lowerAlpha);\r\noutput = regexAlpha.test(upperAlpha);","IsDeferred":false},{"Name":"upper-short","Code":"const alpha = \u0022Alpha\u0022;\r\nconst upperAlpha = \u0022ALPHA\u0022;\r\nconst lowerAlpha = \u0027alpha\u0027;\r\nconst regexAlpha = new RegExp(/alpha/i);\r\nvar output;\r\n\r\noutput = alpha.toUpperCase() === upperAlpha;\r\noutput = alpha.toUpperCase() === upperAlpha;\r\noutput = alpha.toUpperCase() === upperAlpha;","IsDeferred":false},{"Name":"lower-short","Code":"const alpha = \u0022Alpha\u0022;\r\nconst upperAlpha = \u0022ALPHA\u0022;\r\nconst lowerAlpha = \u0027alpha\u0027;\r\nconst regexAlpha = new RegExp(/alpha/i);\r\nvar output;\r\noutput = alpha.toLowerCase() === lowerAlpha;\r\noutput = alpha.toLowerCase() === lowerAlpha;\r\noutput = alpha.toLowerCase() === lowerAlpha;","IsDeferred":false},{"Name":"regex-long","Code":"const longString = \u0060The licenses for most software and other practical works are designed to take away your freedom to share and change the works. By contrast, the GNU General Public License is intended to guarantee your freedom to share and change all versions of a program--to make sure it remains free software for all its users. We, the Free Software Foundation, use the GNU General Public License for most of our software; it applies also to any other work released this way by its authors. You can apply it to your programs, too.\u0060;\r\nconst lowerLongString = longString.toLowerCase();\r\nconst upperLongString = longString.toUpperCase();\r\nconst regexLong = new RegExp(/The licenses for most software and other practical works are designed to take away your freedom to share and change the works. By contrast, the GNU General Public License is intended to guarantee your freedom to share and change all versions of a program--to make sure it remains free software for all its users. We, the Free Software Foundation, use the GNU General Public License for most of our software; it applies also to any other work released this way by its authors. You can apply it to your programs, too./i);\r\n\r\nvar output;\r\noutput = regexLong.test(longString);\r\noutput = regexLong.test(lowerLongString);\r\noutput = regexLong.test(upperLongString);","IsDeferred":false},{"Name":"lower-long","Code":"const longString = \u0060The licenses for most software and other practical works are designed to take away your freedom to share and change the works. By contrast, the GNU General Public License is intended to guarantee your freedom to share and change all versions of a program--to make sure it remains free software for all its users. We, the Free Software Foundation, use the GNU General Public License for most of our software; it applies also to any other work released this way by its authors. You can apply it to your programs, too.\u0060;\r\nconst lowerLongString = longString.toLowerCase();\r\nconst upperLongString = longString.toUpperCase();\r\nconst regexLong = new RegExp(/The licenses for most software and other practical works are designed to take away your freedom to share and change the works. By contrast, the GNU General Public License is intended to guarantee your freedom to share and change all versions of a program--to make sure it remains free software for all its users. We, the Free Software Foundation, use the GNU General Public License for most of our software; it applies also to any other work released this way by its authors. You can apply it to your programs, too./i);\r\n\r\nvar output;\r\noutput = longString.toLowerCase() === lowerLongString;\r\noutput = longString.toLowerCase() === lowerLongString;\r\noutput = longString.toLowerCase() === lowerLongString;","IsDeferred":false},{"Name":"upper-long","Code":"const longString = \u0060The licenses for most software and other practical works are designed to take away your freedom to share and change the works. By contrast, the GNU General Public License is intended to guarantee your freedom to share and change all versions of a program--to make sure it remains free software for all its users. We, the Free Software Foundation, use the GNU General Public License for most of our software; it applies also to any other work released this way by its authors. You can apply it to your programs, too.\u0060;\r\nconst lowerLongString = longString.toLowerCase();\r\nconst upperLongString = longString.toUpperCase();\r\nconst regexLong = new RegExp(/The licenses for most software and other practical works are designed to take away your freedom to share and change the works. By contrast, the GNU General Public License is intended to guarantee your freedom to share and change all versions of a program--to make sure it remains free software for all its users. We, the Free Software Foundation, use the GNU General Public License for most of our software; it applies also to any other work released this way by its authors. You can apply it to your programs, too./i);\r\n\r\nvar output;\r\noutput = longString.toUpperCase() === upperLongString;\r\noutput = longString.toUpperCase() === upperLongString;\r\noutput = longString.toUpperCase() === upperLongString;","IsDeferred":false}]}