summaryrefslogtreecommitdiff
path: root/doc.zh
diff options
context:
space:
mode:
Diffstat (limited to 'doc.zh')
-rw-r--r--doc.zh/source/index.rst2
1 files changed, 1 insertions, 1 deletions
diff --git a/doc.zh/source/index.rst b/doc.zh/source/index.rst
index 7bbff8a..26830df 100644
--- a/doc.zh/source/index.rst
+++ b/doc.zh/source/index.rst
@@ -959,7 +959,7 @@ Beautiful Soup定义了很多搜索方法,这里着重介绍2个: ``find()`` 和
正则表达式
..........
-如果传入正则表达式作为参数,Beautiful Soup会通过正则表达式的 ``match()`` 来匹配内容.下面例子中找出所有以b开头的标签,这表示<body>和<b>标签都应该被找到:
+如果传入正则表达式作为参数,Beautiful Soup会通过正则表达式的 ``search()`` 来匹配内容.下面例子中找出所有以b开头的标签,这表示<body>和<b>标签都应该被找到:
::