浏览代码

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
 		This function expects `pos` and `len` to describe a valid substring of
 		`s`, or else the result is unspecified. To get more robust behavior,
 		`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.
 		This method modifies the internal state.