Browse Source

Lua: Fix Ereg.match function

Justin Donaldson 10 years ago
parent
commit
14e66a6886
1 changed files with 1 additions and 1 deletions
  1. 1 1
      std/lua/_std/EReg.hx

+ 1 - 1
std/lua/_std/EReg.hx

@@ -44,7 +44,7 @@ class EReg {
 	}
 
 	public function match( s : String ) : Bool {
-		m = untyped Boot.unpack(Rex.exec(r,s));
+		m = Table.pack(r.exec(s));
 		this.s = s;
 		return m[0] != null;
 	}