zrlw edited a comment on issue #8581: URL: https://github.com/apache/dubbo/issues/8581#issuecomment-907611897
> 这个问题是不是给 dubbo.network.interface.ignored 加一下转义就好了 dubbo.network.interface.ignored这个配置内容需要用户自己去做转义,只有用户清楚里面的哪些特殊字符需要做转义处理,哪些不需要转。 dubbo可以做的是在配置指南上指出如果需要屏蔽的网卡名称里面包含特殊字符,则在不需要转义的内容前后加上\Q和\E就好了,就像Pattern.quote方法做的那样,比如过滤掉Intel(R)开头的所有网卡,那么用户就需要配置为```\\QIntel(R)\\E.*``` 或者 ```Intel\\Q(R)\\E.*``` 或者```Intel\\Q(\\ER\\Q)\\E.*```,或者反斜杠转义这种: ```Intel\\(R\\).*``` -- This is an automated message from the Apache Git Service. To respond to the message, please log on to GitHub and use the URL above to go to the specific comment. To unsubscribe, e-mail: [email protected] For queries about this service, please contact Infrastructure at: [email protected] --------------------------------------------------------------------- To unsubscribe, e-mail: [email protected] For additional commands, e-mail: [email protected]
