Files
openide/RegExpSupport/resources/inspectionDescriptions/RegExpDuplicateCharacterInClass.html
Bas Leijdekkers c50a102e50 update RegExp inspection descriptions with examples
GitOrigin-RevId: 1daa0f68ede1036d134127cdacd0b61e5d438ca8
2021-06-06 13:43:39 +00:00

15 lines
344 B
HTML

<html>
<body>
Reports duplicate characters inside a RegExp character class.
Duplicate characters are unnecessary and can be removed without changing the semantics of the regex.
<p><b>Example:</b></p>
<pre><code>
[aabc]
</code></pre>
<p>After the quick-fix is applied:</p>
<pre><code>
[abc]
</code></pre>
<!-- tooltip end -->
</body>
</html>