Skip to content

Commit 65b1275

Browse files
Napalysasgerf
andauthored
Update javascript/ql/src/RegExp/DuplicateCharacterInCharacterClass.qhelp
Co-authored-by: Asger F <[email protected]>
1 parent a0db250 commit 65b1275

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

javascript/ql/src/RegExp/DuplicateCharacterInCharacterClass.qhelp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -13,7 +13,7 @@ Common mistakes include:
1313
</p>
1414
<ul>
1515
<li>Using square brackets <code>[]</code> instead of parentheses <code>()</code> for grouping alternatives</li>
16-
<li>Misunderstanding that special regex characters like <code>|</code>, <code>*</code>, <code>+</code>, <code>()</code>, <code>-</code> etc. work the same inside character classes as outside</li>
16+
<li>Misunderstanding that special regex characters like <code>|</code>, <code>*</code>, <code>+</code>, <code>()</code>, and <code>-</code> work differently when appearing inside a character class</li>
1717
<li>Accidentally duplicating characters or escape sequences that represent the same character</li>
1818
</ul>
1919

0 commit comments

Comments
 (0)