Skip to content

Commit 765076b

Browse files
committed
fix whitespace in the samples in ReDoS.qhelp
1 parent 5de8934 commit 765076b

File tree

4 files changed

+4
-8
lines changed

4 files changed

+4
-8
lines changed

java/ql/src/Security/CWE/CWE-730/ReDoS.qhelp

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -25,8 +25,7 @@
2525
the two branches of the alternative inside the repetition:
2626
</p>
2727
<sample language="java">
28-
^_(__|[^_])+_$
29-
</sample>
28+
^_(__|[^_])+_$</sample>
3029
</example>
3130

3231
<include src="ReDoSReferences.inc.qhelp"/>

javascript/ql/src/Performance/ReDoS.qhelp

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -25,8 +25,7 @@
2525
the two branches of the alternative inside the repetition:
2626
</p>
2727
<sample language="javascript">
28-
/^_(__|[^_])+_$/
29-
</sample>
28+
/^_(__|[^_])+_$/</sample>
3029
</example>
3130

3231
<include src="ReDoSReferences.inc.qhelp"/>

python/ql/src/Security/CWE-730/ReDoS.qhelp

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -25,8 +25,7 @@
2525
the two branches of the alternative inside the repetition:
2626
</p>
2727
<sample language="python">
28-
^_(__|[^_])+_$
29-
</sample>
28+
^_(__|[^_])+_$</sample>
3029
</example>
3130

3231
<include src="ReDoSReferences.inc.qhelp"/>

ruby/ql/src/queries/security/cwe-1333/ReDoS.qhelp

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -21,8 +21,7 @@
2121
repetition:
2222
</p>
2323
<sample language="ruby">
24-
/^_(__|[^_])+_$/
25-
</sample>
24+
/^_(__|[^_])+_$/</sample>
2625
</example>
2726
<include src="ReDoSReferences.inc.qhelp"/>
2827
</qhelp>

0 commit comments

Comments
 (0)