mirror of
https://gitflic.ru/project/openide/openide.git
synced 2025-12-15 02:59:33 +07:00
16 lines
382 B
HTML
16 lines
382 B
HTML
<html>
|
|
<body>
|
|
Reports duplicate branches in a RegExp alternation.
|
|
Duplicate branches slow down matching and obscure the intent of the expression.
|
|
<p><b>Example:</b></p>
|
|
<pre><code>
|
|
(alpha|bravo|charlie|alpha)
|
|
</code></pre>
|
|
<p>After the quick-fix is applied:</p>
|
|
<pre><code>
|
|
(alpha|bravo|charlie)
|
|
</code></pre>
|
|
<!-- tooltip end -->
|
|
<p><small>New in 2017.1</small>
|
|
</body>
|
|
</html> |