소스 검색

Merge pull request #2353 from frabbit/patch-2

this.matchSub should be this.match
Simon Krajewski 11 년 전
부모
커밋
f147ada1f8
1개의 변경된 파일1개의 추가작업 그리고 1개의 파일을 삭제
  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.