Merge pull request #13285 from erik-krogh/redoshelp

ReDoS: fix whitespace in the samples in ReDoS.qhelp
This commit is contained in:
Erik Krogh Kristensen
2023-06-01 15:53:58 +02:00
committed by GitHub
4 changed files with 8 additions and 16 deletions

View File

@@ -4,8 +4,7 @@
<example>
<p>Consider this regular expression:</p>
<sample language="ruby">
/^_(__|.)+_$/
</sample>
/^_(__|.)+_$/</sample>
<p>
Its sub-expression <code>"(__|.)+?"</code> can match the string
<code>"__"</code> either by the first alternative <code>"__"</code> to the
@@ -21,8 +20,7 @@
repetition:
</p>
<sample language="ruby">
/^_(__|[^_])+_$/
</sample>
/^_(__|[^_])+_$/</sample>
</example>
<include src="ReDoSReferences.inc.qhelp"/>
</qhelp>