Golang 正则表达式Regex相关资料整理


Golang 支持的正在表达式是 https://github.com/google/re2/wiki/Syntax 注意这里提示 NOT SUPPORTED的。

工具

一些测试正则表达式的工具

推荐:

https://regex101.com/

对这个站点的站长采访: http://www.infoq.com/cn/news/2013/01/RegEx101

https://regex-golang.appspot.com/assets/html/index.html 这里的源码在 https://github.com/lukemauldin/rego

之前我一直使用的 RegexBuddy 需要win环境, 对go细节的支持不足, 不推荐。

教程

https://github.com/StefanSchroeder/Golang-Regex-Tutorial/tree/master/zh


免责声明!

本站转载的文章为个人学习借鉴使用,本站对版权不负任何法律责任。如果侵犯了您的隐私权益,请联系本站邮箱yoyou2525@163.com删除。



 
粤ICP备18138465号  © 2018-2025 CODEPRJ.COM