Caue Waneck hace 13 años
padre
commit
7f09bf29cb
Se han modificado 1 ficheros con 1 adiciones y 8 borrados
  1. 1 8
      std/java/_std/EReg.hx

+ 1 - 8
std/java/_std/EReg.hx

@@ -96,14 +96,7 @@ class EReg {
 	public function match( s : String ) : Bool {
 		cur = s;
 		matcher = matcher.reset(s);
-		var ret = matcher.find();
-		//FIXME look into why find() sometimes returns a 0-length match
-		while (ret && matcher.start() - matcher.end() == 0)
-		{
-			ret = matcher.find();
-		}
-		
-		return ret;
+		return matcher.find();
 	}
 
 	/**