赵豪杰 <1292756...@qq.com> added the comment:
got it.
--
___
Python tracker
<https://bugs.python.org/issue42453>
___
___
Python-bugs-list mailing list
Unsubsc
New submission from 赵豪杰 <1292756...@qq.com>:
When using `pip install package_name` installing a package, it will generate a
`installed-files.txt` file, which records the file that the package contains.
When updating or uninstalling the package, pip will need to read the
`installed-fil
赵豪杰 <1292756...@qq.com> added the comment:
AhAh, got it, I misunderstood the usage, the findall returns tuple of groups
the expression set. Thanks @serhiy.storchaka @rhettinger
--
resolution: -> not a bug
stage: -> resolved
status: op
New submission from 赵豪杰 <1292756...@qq.com>:
```
>>> import re
>>> text = '121212 and 121212'
>>> pattern = '(12)+'
>>> print(re.findall(pattern, text))
['12', '12']
>>>
>>>
>>> print(re.search(pattern, text))
>&