Home
Sign Up
Sign In
V2EX
›
问与答
为啥一直正则是空呢?
bestehen
·
Jul 27, 2018
· 1209 views
This topic created in 2853 days ago, the information mentioned may be changed or developed.
ss=re.findall(u'
(\d+)小时前
',s) ss [] s '
· 6 小时前
'
Supplement 1 ·
Jul 28, 2018
for i in range(1,10):
s.append(i)
s
[1, 2, 3, 4, 5, 6, 7, 8, 9]
for i in range(-1,-3):
s.remove(s[i])
s
[1, 2, 3, 4, 5, 6, 7, 8, 9]
span
小时
all
re.fi
1 replies
1
hundan
Jul 28, 2018 via Android
忘了空格?
About
·
Help
·
Advertise
·
Blog
·
API
·
FAQ
·
Solana
·
3937 Online
Highest 6679
·
Select Language
创意工作者们的社区
World is powered by solitude
VERSION: 3.9.8.5 · 28ms ·
UTC 00:56
·
PVG 08:56
·
LAX 17:56
·
JFK 20:56
♥ Do have faith in what you're doing.
❯