Warning: file_get_contents(/data/phpspider/zhask/data//catemap/5/actionscript-3/6.json): failed to open stream: No such file or directory in /data/phpspider/zhask/libs/function.php on line 167

Warning: Invalid argument supplied for foreach() in /data/phpspider/zhask/libs/tag.function.php on line 1116

Notice: Undefined index: in /data/phpspider/zhask/libs/function.php on line 180

Warning: array_chunk() expects parameter 1 to be array, null given in /data/phpspider/zhask/libs/function.php on line 181
flashbuilder中flex和actionscript项目的RegExp_Regex_Actionscript 3_Flash - Fatal编程技术网

flashbuilder中flex和actionscript项目的RegExp

flashbuilder中flex和actionscript项目的RegExp,regex,actionscript-3,flash,Regex,Actionscript 3,Flash,对于以下相同代码: trace(new RegExp("..")("Hello")); 在ActionScript项目输出中: // 但在Flex项目输出中: 他 为什么?用{2}代替。?并尝试跟踪((new RegExp(“…)).exec(“Hello”)。用{2}代替。?并尝试跟踪((new RegExp(“…)).exec(“Hello”)。

对于以下相同代码:

trace(new RegExp("..")("Hello"));
在ActionScript项目输出中:

//

但在Flex项目输出中:


为什么?

{2}
代替
?并尝试
跟踪((new RegExp(“…)).exec(“Hello”)
。用
{2}
代替
?并尝试
跟踪((new RegExp(“…)).exec(“Hello”)