小编Eme*_*Cod的帖子

提取三个单引号之间的文本

我在文件中有以下内容

description: '''
        This rule forbids throwing string literals or interpolations. While
        JavaScript (and CoffeeScript by extension) allow any expression to
        be thrown, it is best to only throw <a
        href="https://developer.mozilla.org
        /en/JavaScript/Reference/Global_Objects/Error"> Error</a> objects,
        because they contain valuable debugging information like the stack
        trace. Because of JavaScript's dynamic nature, CoffeeLint cannot
        ensure you are always throwing instances of <tt>Error</tt>. It will
        only catch the simple but real case of throwing literal strings.
        <pre>
        <code># CoffeeLint will catch this:
        throw "i …
Run Code Online (Sandbox Code Playgroud)

shell-script text-processing

8
推荐指数
2
解决办法
764
查看次数

标签 统计

shell-script ×1

text-processing ×1