V2EX = way to explore
V2EX 是一个关于分享和探索的地方
现在注册
已注册用户请  登录
V2EX 提问指南
lastright
V2EX  ›  问与答

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

  •  
  •   lastright · 2019-06-22 02:43:45 +08:00 · 2193 次点击
    这是一个创建于 1742 天前的主题,其中的信息可能已经有所发展或是发生改变。

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

    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  
       2019-06-22 11:16:11 +08:00 via Android
    计算机英文文档不都是简单易懂的吗,不用复杂语法
    Yvette
        12
    Yvette  
       2019-06-22 11:16:46 +08:00 via iPad
    迷の龟
    关于   ·   帮助文档   ·   博客   ·   API   ·   FAQ   ·   我们的愿景   ·   实用小工具   ·   956 人在线   最高记录 6543   ·     Select Language
    创意工作者们的社区
    World is powered by solitude
    VERSION: 3.9.8.5 · 25ms · UTC 21:28 · PVG 05:28 · LAX 14:28 · JFK 17:28
    Developed with CodeLauncher
    ♥ Do have faith in what you're doing.