go regexp

正则是任何语言都必备的工具,这里介绍golang的使用方法

不匹配后面字符

1
'Project boards bcarcs for your issues and pull requests'.match(/(\w+ar(?!d)[^\s]*)/g)
Your browser is out-of-date!

Update your browser to view this website correctly. Update my browser now

×