From e8f0e1423b6c6bf2a02791d28ed149eb892a27be Mon Sep 17 00:00:00 2001 From: Bilka Date: Wed, 8 Oct 2025 14:18:11 +0200 Subject: [PATCH] [DOC] Fix typo in Regexp Optimization section --- doc/_regexp.rdoc | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/doc/_regexp.rdoc b/doc/_regexp.rdoc index b862c9a49e..76ac3a859e 100644 --- a/doc/_regexp.rdoc +++ b/doc/_regexp.rdoc @@ -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: