sed error: “invalid reference \1 on `s' command's RHS”

后端 未结 4 576
一整个雨季
一整个雨季 2020-12-04 20:38

I run several substitution commands as the core of a colorize script for maven. One of the sed commands uses a regular expression which works find in the shell

4条回答
  •  臣服心动
    2020-12-04 21:12

    If the -r/--regexp-extended option is not provided, then the capturing parentheses must be escaped.

提交回复
热议问题