{"ScriptPreparationCode":null,"TestCases":[{"Name":"event regex","Code":"const envRegex = /\\^[a-zA-Z0-9_]\u002B\\b/g;\r\nconst dataRegex = /\\$[a-zA-Z0-9_]\u002B\\b/g;\r\nconst dataenvRegex = /(\\$|\\^)[a-zA-Z0-9_]\u002B\\b/g;\r\nconst eventRegex = /\\@[a-zA-Z0-9_]\u002B(?:\\.[a-zA-Z0-9_]\u002B|\\b)(?:\\b\\[(#|\\.)[a-zA-Z0-9_-]\u002B\\]|\\b)/g;\r\nconst str = \u0022 background-color: #f7f7f7; opacity: [[ $pageopacity ]]; --r-nonexistentvalue: [[ $noexist ]]; --r-somevar: [[ $somevar ]]; --someevent: [[ @mousemove.clientX[#myelement] ]]; --r-mx: [[ \u0026add(\u0026num(^mouse_clientX), \u0026add(101px,22), 60) ]]px; --r-my: [[ \u0026sub(^mouse_clientY, 20) ]]px;\u0022;\r\nstr.match(eventRegex);","IsDeferred":false},{"Name":"case data","Code":"const envRegex = /\\^[a-zA-Z0-9_]\u002B\\b/g;\r\nconst dataRegex = /\\$[a-zA-Z0-9_]\u002B\\b/g;\r\nconst dataenvRegex = /(\\$|\\^)[a-zA-Z0-9_]\u002B\\b/g;\r\nconst eventRegex = /\\@[a-zA-Z0-9_]\u002B(?:\\.[a-zA-Z0-9_]\u002B|\\b)(?:\\b\\[(#|\\.)[a-zA-Z0-9_-]\u002B\\]|\\b)/g;\r\nconst str = \u0022 background-color: #f7f7f7; opacity: [[ $pageopacity ]]; --r-nonexistentvalue: [[ $noexist ]]; --r-somevar: [[ $somevar ]]; --someevent: [[ @mousemove.clientX[#myelement] ]]; --r-mx: [[ \u0026add(\u0026num(^mouse_clientX), \u0026add(101px,22), 60) ]]px; --r-my: [[ \u0026sub(^mouse_clientY, 20) ]]px;\u0022;\r\nstr.match(dataRegex);","IsDeferred":false}]}