Actions
Bug #6524
closedmissing "#=>" in example block in Regexp class documentation
Description
In the Regexp class documentation, "Performance" section, the code block that starts out "# Match a string of 29 as against a pattern of 29 optional" seems to be the only block of sample code on the page which would return a value but that doesn't include a "#=>" in the sample block to show what is returned.
(Also, it might be a little easier for readers to concentrate on the point of the discussion here if that example was as close as possible to the following one, rather having one use use =~ while the other uses .match() ....)
Actions
Like0
Like0Like0