{"ScriptPreparationCode":"var matchDirective = /(?:webapp-v-)([a-z-]\u002B)(?::([a-zA-Z_.-]\u002B))*/,\r\n attrName = \u0022webapp-v-bind:class.ifdefined=\u0022;","TestCases":[{"Name":"Regex","Code":"var directivematch = matchDirective.exec(attrName),\r\n\tdirectivename \t= directivematch[1],\r\n\tdirectivopts\t= directivematch[2];","IsDeferred":false},{"Name":"Substring","Code":"var directivematch = matchDirective.exec(attrName),\r\n pos\t\t\t\t= attrName.indexOf(\u0022:\u0022)\r\n\tdirectivename \t= attrName.substring(0, pos), \r\n\tdirectivopts\t= attrName.substring(0, pos\u002B1);","IsDeferred":false}]}