Files
openide/RegExpSupport/resources/inspectionDescriptions/RegExpRedundantClassElement.html
Filippova Maria 677bd7e889 IDEA-292945 New Inspection: \d is redundant with \w in the same class (\D with \W)
GitOrigin-RevId: 7c2e57a4e3bf8a61e08bf326460576766f851a98
2022-05-17 22:24:30 +00:00

16 lines
404 B
HTML

<html>
<body>
Reports redundant <code>\d</code> or <code>[:digit:]</code> that are used in one class with <code>\w</code> or <code>[:word:]</code>
(<code>\D</code> with <code>\W</code>) and can be removed.
<p><b>Example:</b></p>
<pre><code>
[\w\d]
</code></pre>
<p>After the quick-fix is applied:</p>
<pre><code>
[\w]
</code></pre>
<!-- tooltip end -->
<p><small>New in 2022.2</small>
</body>
</html>