浏览代码

removed trace.

Nicolas Cannasse 19 年之前
父节点
当前提交
005561e152
共有 1 个文件被更改,包括 1 次插入4 次删除
  1. 1 4
      std/EReg.hx

+ 1 - 4
std/EReg.hx

@@ -44,10 +44,7 @@ class EReg {
 		#else js
 		#else js
 		untyped {
 		untyped {
 			r.m = r.exec(s);
 			r.m = r.exec(s);
-			if( r.m == null )
-				return false;
-			trace(r.m);
-			return true;
+			return (r.m != null);
 		}
 		}
 		#else flash
 		#else flash
 		throw "EReg::match not implemented";
 		throw "EReg::match not implemented";