mirror of
https://gitflic.ru/project/openide/openide.git
synced 2026-01-08 06:39:38 +07:00
RegExp: avoid promises about performance in inspection description
This commit is contained in:
@@ -1,11 +1,8 @@
|
||||
<!--
|
||||
~ Copyright 2000-2018 JetBrains s.r.o. Use of this source code is governed by the Apache 2.0 license that can be found in the LICENSE file.
|
||||
-->
|
||||
|
||||
<html>
|
||||
<body>
|
||||
Reports single char alternation (<b><code>a|b|c|d</code></b>) in a RegExp.
|
||||
It is simpler and significantly faster to use a character class (<b><code>[abcd]</code></b>) instead.
|
||||
Reports single char alternation (e.g. <b><code>a|b|c|d</code></b>) in a RegExp.
|
||||
It is simpler to use a character class (<b><code>[abcd]</code></b>) instead.
|
||||
This usually also provides slightly better matching performance.
|
||||
<!-- tooltip end -->
|
||||
<p>
|
||||
<small>New in 2017.1</small>
|
||||
|
||||
Reference in New Issue
Block a user