Explorar o código

Merge pull request #2353 from frabbit/patch-2

this.matchSub should be this.match
Simon Krajewski %!s(int64=11) %!d(string=hai) anos
pai
achega
f147ada1f8
Modificáronse 1 ficheiros con 1 adicións e 1 borrados
  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.