1. 首页
  2. 数据库
  3. 其它
  4. go re:正则表达式就像Go中的Perl南瓜一样! 源码

go re:正则表达式就像Go中的Perl南瓜一样! 源码

上传者: 2021-04-19 12:00:40上传 ZIP文件 18.8KB 热度 9次
正则表达式就像Go中的Perl南瓜一样! 安装 go get github.com/kivilahtio/go-re/v0 用法 查看godoc示例 示例ISO8601解析器 require . "github.com/kivilahtio/go-re/v0" func init() { r := Mr(` kalle: "ankka" - 2021-12-31 23:59:59.0123+0200Z paavo: "pesus" - 2020-10-31T21:39:39.4321+0230`, `m/ # this is a comment which encompasses the whole line ^ (?P\w+) # This is a comment too
下载地址
用户评论