{"ScriptPreparationCode":null,"TestCases":[{"Name":"regex","Code":"var result = 0;\r\nFILTERS = /\\s*\\|\\s*([^\\|\\s:}]*)(?::((?:(?:[^\\|\\s,}]*),?)\u002B))?\\s*/g;\r\nvar str = \u0022{{value|filter:arg1,arg2|otherFilter}}\u0022;\r\nfor (var i=0; i \u003C 1000; i\u002B\u002B) {\r\n typeof str.match(FILTERS) !== null ? result \u002B= 1 : result \u002B= 0;\r\n}","IsDeferred":false},{"Name":"indexOf","Code":"var result = 0;\r\nFILTERS = /\\s*\\|\\s*([^\\|\\s:}]*)(?::((?:(?:[^\\|\\s,}]*),?)\u002B))?\\s*/g;\r\nvar str = \u0022{{value|filter:arg1,arg2|otherFilter}}\u0022;\r\nfor (var i=0; i \u003C 1000; i\u002B\u002B) {\r\n typeof str.indexOf(\u0027|\u0027) \u003E= 0 ? result \u002B= 1 : result \u002B= 0;\r\n}","IsDeferred":false}]}