mirror of
https://gitflic.ru/project/openide/openide.git
synced 2025-12-16 14:23:28 +07:00
17 lines
484 B
HTML
17 lines
484 B
HTML
<html>
|
|
<body>
|
|
Reports redundant escapes in the replacement string of regex methods.
|
|
It is allowed to escape any character in a regex replacement string,
|
|
but only for the <code>$</code> and <code>\</code> characters is escaping necessary.
|
|
<p><b>Example:</b></p>
|
|
<pre><code>
|
|
string.replaceAll("a", "\\b");
|
|
</code></pre>
|
|
<p>After the quick-fix is applied:</p>
|
|
<pre><code>
|
|
string.replaceAll("a", "b");
|
|
</code></pre>
|
|
<!-- tooltip end -->
|
|
<p><small>New in 2022.3</small>
|
|
</body>
|
|
</html> |