lastright
V2EX  ›  问与答

pcre 的文档是我读过的最浅显易懂的英文 manual。。。

  •  
  •   lastright · Jun 22, 2019 · 3539 views
    This topic created in 2691 days ago, the information mentioned may be changed or developed.

    有 linux 系统的不妨 man pcre 试读一下,这里是网页版: http://www.pcre.org/pcre.txt , 从 INTRODUCTION 开始读,读几段应该就能感觉出来了。

    感觉跟我的英语水平完全在一个频道上,对比之下,才意识到以前读英文 manual (例如 glibc 的)都是处于“吃力”的状态。

    pcre 的文档编写者要么是真的大神,要么跟我一样是英语菜鸟。。。总之是第一次把一个库的 man page 的首页读完。

    贴上一段:

    INTRODUCTION

       The  PCRE  library is a set of functions that implement re 龟 lar expres-
       sion pattern matching using the same syntax and semantics as Perl, with
       just  a few differences. Some features that appeared in Python and PCRE
       before they appeared in Perl are also available using the  Python  syn-
       tax,  there  is  some  support for one or two .NET and Oni 龟 ruma syntax
       items, and there is an option for requesting some  minor  changes  that
       give better JavaScript compatibility.
    
    12 replies  •  2019-06-22 11:16:46 +08:00
    Trim21
    Trim21
    Jun 22, 2019 via iPhone
    1
    (龟
    ho121
    ho121
    Jun 22, 2019 via Android
    2
    感觉有点别扭
    dumbass
    dumbass
    Jun 22, 2019 via iPhone
    3
    所以龟是 gui 吗
    roshad
    roshad
    Jun 22, 2019
    4
    写文档各种插入语、从句、高级词汇 是最可怕的。
    roshad
    roshad
    Jun 22, 2019
    5
    等等,楼主你 some and 这些词的高亮是什么软件实现的?
    roshad
    roshad
    Jun 22, 2019
    6
    还有这个龟是怎么回事
    my101du
    my101du
    Jun 22, 2019
    7
    第一楼你的头像,和这个龟字的俯视角度。。。故意的么(手动滑稽)
    frozenthrone
    frozenthrone
    Jun 22, 2019 via iPhone❤️1
    8
    龟龟,发出来叹为观止的声音
    lastright
    lastright
    OP
    Jun 22, 2019
    9
    linux 下,我正在调试一个浏览器插件,用的就是 pcre,大家看到的是调试现场吧。。。真的有“龟”这个字吗,待我换一台电脑。 @roshad
    lastright
    lastright
    OP
    Jun 22, 2019
    10
    再贴一遍:

    INTRODUCTION

    The PCRE library is a set of functions that implement regular expres-
    sion pattern matching using the same syntax and semantics as Perl, with
    just a few differences. Some features that appeared in Python and PCRE
    before they appeared in Perl are also available using the Python syn-
    tax, there is some support for one or two .NET and Oniguruma syntax
    items, and there is an option for requesting some minor changes that
    give better JavaScript compatibility.
    watzds
    watzds
    Jun 22, 2019 via Android
    11
    计算机英文文档不都是简单易懂的吗,不用复杂语法
    Yvette
    Yvette
    Jun 22, 2019 via iPad
    12
    迷の龟
    About   ·   Help   ·   Advertise   ·   Blog   ·   API   ·   FAQ   ·   Privacy   ·   Solana   ·   2197 Online   Highest 6679   ·     Select Language
    创意工作者们的社区
    World is powered by solitude
    VERSION: 3.9.8.5 · 48ms · UTC 16:06 · PVG 00:06 · LAX 08:06 · JFK 11:06
    ♥ Do have faith in what you're doing.