What is difference between /(expr)/ and /expr/

后端 未结 0 892
孤城傲影
孤城傲影 2020-11-28 17:15

What is the difference between these two?

let k1 = m.split(/(\\s+)/)
let k2 = m.split(/\\s+/)

For this string I am B

相关标签:
回答
  • 消灭零回复
提交回复
热议问题