Actions
Bug #5624
closedMismatch between code example and its description in text in Regexp documentation
Description
I found that in Regexp.html (doc/re.rdoc) under the heading Performance there is the description:
"Consider a string of 25 as, a d, 4 as, and a c."
with a code example:
s = 'a' * 25 + 'd' 'a' * 4 + 'c'
#=> "aaaaaaaaaaaaaaaaaaaaaaaaadadadadac"
The code example doesn't match its description.
I fixed that with the attached patch.
Files
Actions
Like0
Like0Like0