From c9f34308959bd91812793fd04550db21e330c4b0 Mon Sep 17 00:00:00 2001 From: Leonard Richardson Date: Sat, 4 Apr 2020 18:00:45 -0400 Subject: Corrected error in Chinese translation, found by "One J". --- doc.zh/source/index.rst | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'doc.zh') 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开头的标签,这表示和标签都应该被找到: +如果传入正则表达式作为参数,Beautiful Soup会通过正则表达式的 ``search()`` 来匹配内容.下面例子中找出所有以b开头的标签,这表示和标签都应该被找到: :: -- cgit v1.2.3