Browse Source

[python] disable `@:coreApi` on EReg.matchSub until we know how to deal with the type difference issue

Simon Krajewski 11 years ago
parent
commit
811153abcd
1 changed files with 2 additions and 2 deletions
  1. 2 2
      std/python/_std/EReg.hx

+ 2 - 2
std/python/_std/EReg.hx

@@ -3,7 +3,7 @@ import python.lib.Re;
 import python.lib.Re.MatchObject;
 import python.lib.Re.MatchObject;
 import python.lib.Re.Pattern;
 import python.lib.Re.Pattern;
 
 
-@:coreApi
+//@:coreApi
 class EReg {
 class EReg {
 
 
 	/**
 	/**
@@ -115,7 +115,7 @@ class EReg {
 
 
 		If `s` is null, the result is unspecified.
 		If `s` is null, the result is unspecified.
 	**/
 	**/
-	public function matchSub( s : String, pos : Int, len : Int = 0):Bool {
+	public function matchSub( s : String, pos : Int, ?len : Int):Bool {
 		if (len != null) {
 		if (len != null) {
 			matchObj = pattern.search(s, pos, pos+len);
 			matchObj = pattern.search(s, pos, pos+len);
 		} else {
 		} else {