mirror of
https://github.com/ruby/ruby.git
synced 2026-01-26 12:14:51 +00:00
[DOC] Fix typo in Regexp Optimization section
This commit is contained in:
parent
e500265b09
commit
e8f0e1423b
Notes:
git
2025-10-11 06:00:51 +00:00
@ -1251,7 +1251,7 @@ the potential vulnerability arising from this is the {regular expression denial-
|
||||
|
||||
\Regexp matching can apply an optimization to prevent ReDoS attacks.
|
||||
When the optimization is applied, matching time increases linearly (not polynomially or exponentially)
|
||||
in relation to the input size, and a ReDoS attach is not possible.
|
||||
in relation to the input size, and a ReDoS attack is not possible.
|
||||
|
||||
This optimization is applied if the pattern meets these criteria:
|
||||
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user