浏览代码

docs typo fixes

zeromus 9 年之前
父节点
当前提交
301db648da
共有 1 个文件被更改,包括 2 次插入2 次删除
  1. 2 2
      doc/source/stdlib/stdstringlib.rst

+ 2 - 2
doc/source/stdlib/stdstringlib.rst

@@ -69,8 +69,8 @@ The regexp class
 
 .. js:class:: regexp(pattern)
 
-    The regexp object represent a precompiled regular expression pattern. The object is created
-    trough `regexp(patern)`.
+    The regexp object represents a precompiled regular expression pattern. The object is created
+    through `regexp(pattern)`.
 
 
 +---------------------+--------------------------------------+