Files
openide/RegExpSupport/resources/inspectionDescriptions/RegExpEscapedMetaCharacter.html
Bas Leijdekkers 00c70b7eee RegExp: fix inspection description editing mistake
GitOrigin-RevId: edf1377175a7958ad353533db6e732b6a097060e
2021-08-12 14:32:25 +00:00

19 lines
580 B
HTML

<html>
<body>
Reports escaped meta characters.
Some RegExp coding styles specify that meta characters should be placed inside a character class,
to make the regular expression easier to understand.
This inspection does not warn about the meta character <code>[</code>, <code>]</code> and <code>^</code>,
because those would need additional escaping inside a character class.
<p><b>Example:</b></p>
<pre><code>
\d+\.\d+
</code></pre>
<p>After the quick-fix is applied:</p>
<pre><code>
\d+[.]\d+
</code></pre>
<!-- tooltip end -->
<p><small>New in 2017.1</small>
</body>
</html>