Răsfoiți Sursa

Merge pull request #2353 from frabbit/patch-2

this.matchSub should be this.match
Simon Krajewski 11 ani în urmă
părinte
comite
f147ada1f8
1 a modificat fișierele cu 1 adăugiri și 1 ștergeri
  1. 1 1
      std/EReg.hx

+ 1 - 1
std/EReg.hx

@@ -125,7 +125,7 @@ class EReg {
 		
 		This function expects `pos` and `len` to describe a valid substring of
 		`s`, or else the result is unspecified. To get more robust behavior,
-		`this.matchSub(s.substr(pos,len))` can be used instead.
+		`this.match(s.substr(pos,len))` can be used instead.
 		
 		This method modifies the internal state.