1

我有一个 Maven 项目,所有文件中都有以下标头:

/*
 * Copyright © 2017 Maria Papadopoulou.  All rights reserved.
 *
 * This program and the accompanying materials are made available under the
 * terms of the Eclipse Public License v1.0 which accompanies this distribution,
 * and is available at http://www.eclipse.org/legal/epl-v10.html
 */

我正在尝试将其更改为:

/*
 * Copyright © 2017 Maria Papadopoulou.  All rights reserved.
 *
 */

或者 :

/*
 * Copyright © 2017 Maria Papadopoulou.  All rights reserved.
 *
 * This program and the accompanying materials are made available under the
 * terms of the Eclipse Public License v1.0 which accompanies this distribution,
 * and is available at ...
 */

但是当我构建项目时,出现以下错误:

行与预期的标题行'^ * 不匹配此程序和随附材料在$ 下提供。[正则表达式标头]

我怎样才能在没有错误的情况下更改它?

4

0 回答 0