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