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

18 lines
476 B
HTML

<html>
<body>
Reports multiple consecutive spaces in a RegExp.
Because spaces are not visible by default, it can be hard to see how many spaces are required.
The RegExp can be made more clear by replacing the consecutive spaces with a single space and a counted quantifier.
<p><b>Example:</b></p>
<pre><code>
( )
</code></pre>
<p>After the quick-fix is applied:</p>
<pre><code>
( {5})
</code></pre>
<!-- tooltip end -->
<p>
<small>New in 2017.1</small>
</body>
</html>