首页 > re split 为什么无法识别 `(`

re split 为什么无法识别 `(`

In [107]: re.split(r'(|)','(asdf)')
Out[107]: ['(asdf)']

In [108]: re.split(r'(|)','(asdf)')
Out[108]: ['', 'asdf', '']

为什么全角可以识别出来,而半角(就不能


转义: \(

【热门文章】
【热门文章】