{"ScriptPreparationCode":"var str = \u0022{count, plural, one{# abc flsfhslghrl f;fglgklgfpore 3423fdsfp } two{l;k4h 4lk234h23 l45k 435kl345 h#} many{lfkh3 l3kg4l$#kl;} other{# fglks lfgksh fslkgheoigf sgneso}}\u0022;\r\nvar query = \u0022many\u0022;","TestCases":[{"Name":"Regex dynamic","Code":"var exp = new RegExp(query \u002B \u0022{([^}]\u002B)}\u0022);\r\nvar res = exp.exec(str)[1];","IsDeferred":false},{"Name":"Regex compiled","Code":"var exp = new RegExp(/many{([^}]\u002B)}/);\r\nvar res = exp.exec(str)[1];","IsDeferred":false},{"Name":"Index parsing","Code":"var substr = str.substring(str.indexOf(query \u002B \u0022{\u0022) \u002B query.length \u002B 1);\r\nvar res = substr.substring(0, substr.indexOf(\u0022}\u0022));","IsDeferred":false}]}