mirror of
https://gitee.com/Lyon1998/pikapython.git
synced 2025-01-15 17:02:53 +08:00
4 lines
111 B
Python
4 lines
111 B
Python
import re
|
|
print(re.search('www', 'www.runoob.com').span(0))
|
|
print(re.search('com', 'www.runoob.com').span(0))
|