{"ScriptPreparationCode":"var constructorSimple = new RegExp(\u0027^[0-9a-fA-F]{24}$\u0027);\r\nvar literalSimple = /^[0-9a-fA-F]{24}$/;\r\nvar constructorWithCapture = new RegExp(\u0027My phone number is (?\u003Cphone\u003E\\d{3}-\\d{3}-\\d{4}).\u0027, \u0027g\u0027);\r\nvar literalWithCapture = /My phone number is (?\u003Cphone\u003E\\d{3}-\\d{3}-\\d{4})./g;","TestCases":[{"Name":"simple literal compilation","Code":"var testLiteralSimple = /^[0-9a-fA-F]{24}$/;","IsDeferred":false},{"Name":"simple constructor compilation","Code":"var testConstructorSimple = new RegExp(\u0027^[0-9a-fA-F]{24}$\u0027);","IsDeferred":false},{"Name":"constructor compilation with capture","Code":"var testConstructorWithCapture = new RegExp(\u0027My phone number is (?\u003Cphone\u003E\\d{3}-\\d{3}-\\d{4}).\u0027, \u0027g\u0027);","IsDeferred":false},{"Name":"literal compilation with capture","Code":"var testLiteralWithCapture = /My phone number is (?\u003Cphone\u003E\\d{3}-\\d{3}-\\d{4})./g;","IsDeferred":false},{"Name":"Execute literal simple","Code":"const result = literalSimple.exec(\u0027132abc67219f019afe12901a\u0027);","IsDeferred":false},{"Name":"Execute literal with capture","Code":"const result = literalWithCapture.exec(\u0027My phone number is 555-123-4567.\u0027);","IsDeferred":false}]}