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 求daily translation(DT)偏差订正方法的代码
  • ¥15 js调用html页面需要隐藏某个按钮
  • ¥15 ads仿真结果在圆图上是怎么读数的
  • ¥20 Cotex M3的调试和程序执行方式是什么样的?
  • ¥20 java项目连接sqlserver时报ssl相关错误
  • ¥15 一道python难题3
  • ¥15 牛顿斯科特系数表表示
  • ¥15 arduino 步进电机
  • ¥20 程序进入HardFault_Handler
  • ¥15 关于#python#的问题:自动化测试