V2EX = way to explore
V2EX 是一个关于分享和探索的地方
Sign Up Now
For Existing Member  Sign In
lastright
V2EX  ›  问与答

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

  •  
  •   lastright · Jun 22, 2019 · 3022 views
    This topic created in 2510 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
        1
    Trim21  
       Jun 22, 2019 via iPhone
    (龟
    ho121
        2
    ho121  
       Jun 22, 2019 via Android
    感觉有点别扭
    dumbass
        3
    dumbass  
       Jun 22, 2019 via iPhone
    所以龟是 gui 吗
    roshad
        4
    roshad  
       Jun 22, 2019
    写文档各种插入语、从句、高级词汇 是最可怕的。
    roshad
        5
    roshad  
       Jun 22, 2019
    等等,楼主你 some and 这些词的高亮是什么软件实现的?
    roshad
        6
    roshad  
       Jun 22, 2019
    还有这个龟是怎么回事
    my101du
        7
    my101du  
       Jun 22, 2019
    第一楼你的头像,和这个龟字的俯视角度。。。故意的么(手动滑稽)
    frozenthrone
        8
    frozenthrone  
       Jun 22, 2019 via iPhone   ❤️ 1
    龟龟,发出来叹为观止的声音
    lastright
        9
    lastright  
    OP
       Jun 22, 2019
    linux 下,我正在调试一个浏览器插件,用的就是 pcre,大家看到的是调试现场吧。。。真的有“龟”这个字吗,待我换一台电脑。 @roshad
    lastright
        10
    lastright  
    OP
       Jun 22, 2019
    再贴一遍:

    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
        11
    watzds  
       Jun 22, 2019 via Android
    计算机英文文档不都是简单易懂的吗,不用复杂语法
    Yvette
        12
    Yvette  
       Jun 22, 2019 via iPad
    迷の龟
    About   ·   Help   ·   Advertise   ·   Blog   ·   API   ·   FAQ   ·   Solana   ·   5397 Online   Highest 6679   ·     Select Language
    创意工作者们的社区
    World is powered by solitude
    VERSION: 3.9.8.5 · 53ms · UTC 09:37 · PVG 17:37 · LAX 02:37 · JFK 05:37
    ♥ Do have faith in what you're doing.