python / python-docs-zh-cn

zh_CN translation of the Python documentation
https://docs.python.org/zh-cn/
431 stars 74 forks source link

翻译不当 #303

Closed Lastprismer closed 1 year ago

Lastprismer commented 1 year ago

https://docs.python.org/zh-cn/3/howto/regex.html#grouping

例如,以下正则检测字符串中的双字。: >>> p = re.compile(r'\b(\w+)\s+\1\b') >>> p.search('Paris in the the spring').group() 'the the'

英文:

For example, the following RE detects doubled words in a string.

“双字”应为“两个连续的单词”或近义

silkriver commented 1 year ago

fixed