Skip to content

Bug in Chapter c05_08 #24

@R3c0ger

Description

@R3c0ger

I have found an issue in Section 5.8 of the eBook regarding the regular expression used for adding quotes to headers copied from the browser. The current regular expression and replacement command will include any spaces after the colon inside the quotes, which is incorrect.
5.8节中使用的正则表达式和替换命令会将冒号后的空格包含在引号内,这恐怕不是咱想达到的效果(笑)。

修改建议:

第一行【查找】:  (.*?):\s*(.*)
第二行【替换】:  '$1': '$2',

图片

图片

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions