vincent private static function RegExpFunc(reg:RegExp,str:String):Boolean { var p:RegExp=reg; return p.test(str) ; }我这样子写,直接传进去,运行报错