Explorar o código

removed trace.

Nicolas Cannasse %!s(int64=19) %!d(string=hai) anos
pai
achega
005561e152
Modificáronse 1 ficheiros con 1 adicións e 4 borrados
  1. 1 4
      std/EReg.hx

+ 1 - 4
std/EReg.hx

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