duanjiani6826 2015-02-14 16:43
浏览 41
已采纳

在哪里可以找到所有Golang regexp规范? [重复]

This question already has an answer here:

I try to find all in one golang regexp rules/specification/accepted syntax. However as it turned out - it's not simple task. There is some resource I've found:

There first one it is almost what I need, but there is so many complicated moments where I just doesn't understand what's going on (no legenda and no explanations - only for those who already know something). See some examples below:

\d  Perl character class #what does it have with Perl?
[[:name:]]  named ASCII class inside character class (≡ [:name:])

Could anybody help me?

</div>
  • 写回答

1条回答 默认 最新

  • dongzhang1987 2015-02-14 16:52
    关注

    The official documentation is http://golang.org/pkg/regexp/syntax/

    Perl in particular is a programming language. From the Wikipedia entry on Perl:

    Perl 5 gained widespread popularity in the late 1990s as a CGI scripting language, in part due to its unsurpassed regular expression and string parsing abilities.

    本回答被题主选为最佳回答 , 对您是否有帮助呢?
    评论

报告相同问题?

悬赏问题

  • ¥15 乌班图ip地址配置及远程SSH
  • ¥15 怎么让点阵屏显示静态爱心,用keiluVision5写出让点阵屏显示静态爱心的代码,越快越好
  • ¥15 PSPICE制作一个加法器
  • ¥15 javaweb项目无法正常跳转
  • ¥15 VMBox虚拟机无法访问
  • ¥15 skd显示找不到头文件
  • ¥15 机器视觉中图片中长度与真实长度的关系
  • ¥15 fastreport table 怎么只让每页的最下面和最顶部有横线
  • ¥15 java 的protected权限 ,问题在注释里
  • ¥15 这个是哪里有问题啊?