summaryrefslogtreecommitdiff
path: root/doc
diff options
context:
space:
mode:
authorBilka <Bilka2@users.noreply.github.com>2025-10-08 14:18:11 +0200
committerNobuyoshi Nakada <nobu.nakada@gmail.com>2025-10-11 15:00:21 +0900
commite8f0e1423b6c6bf2a02791d28ed149eb892a27be (patch)
tree04270883d480fffa786abc73a232b6a951b42d47 /doc
parente500265b099df21768c28890c77fade4b60da068 (diff)
[DOC] Fix typo in Regexp Optimization section
Diffstat (limited to 'doc')
-rw-r--r--doc/_regexp.rdoc2
1 files changed, 1 insertions, 1 deletions
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: