IDEA警告: Redundant character escape xxx in RegExp
IDEA警告: Redundant character escape '\\+' in RegExp,表示正则表达式中的特殊字符需转义
如果不想转义也可以关闭IDEA中关于正则表达式的警告
Setting-->Editor-->Inspections-->按Redundant 搜索
找到Redundant character escape,取消勾选即可
IDEA警告: Redundant character escape '\\+' in RegExp,表示正则表达式中的特殊字符需转义
如果不想转义也可以关闭IDEA中关于正则表达式的警告
Setting-->Editor-->Inspections-->按Redundant 搜索
找到Redundant character escape,取消勾选即可