Skip to content

Commit 436ead5

Browse files
committed
Update p05_search_and_replace_text.rst
1 parent 811f14e commit 436ead5

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

source/c02/p05_search_and_replace_text.rst

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -20,7 +20,7 @@
2020
>>>
2121
2222
对于复杂的模式,请使用 ``re`` 模块中的 ``sub()`` 函数。
23-
为了说明这个,假设你想将形式为 ``11/27/201`` 的日期字符串改成 ``2012-11-27`` 。示例如下:
23+
为了说明这个,假设你想将形式为 ``11/27/2012`` 的日期字符串改成 ``2012-11-27`` 。示例如下:
2424

2525
.. code-block:: python
2626

0 commit comments

Comments
 (0)