ReSharper 2026.3 Help

正则表达式中的代码检查

在正则表达式中,ReSharper 2026.3 提供了 1 项 专有代码检查 ,您可以 禁用或更改其 严重性级别。
These code inspections help you detect code issues at design time in all open files, and additionally they allow you to find code issues in specific scope.

可配置的正则表达式检查列在下方,并按其 类别分组。

语言使用机会(1 项检查)

此类别包括代码检查,主要具有 建议严重性级别,当可以使用更高级的语言结构时会通知您。 这些检查检测过时语言版本的语法,并建议使用更现代语言版本的功能。 对于大多数支持的语言,语言版本 可以自动检测或手动设置。

检查
ID
EditorConfig 属性

默认严重性

正则表达式检查
RegExpInspections
resharper_reg_exp_inspections_highlighting

警告

2026年 11月 6日