Closed
Description
What happened?
In the documentation sometimes the copy button fails to copy the complete example. One example can be seen in the HDF section
This is because the number of dots (4) are not matched by the regular expression of the copy button, this regular expression needs a small tweak.
To explain the problem in more detail, the io page uses ipython to run the example code and there are many cells. The regular expression
Line 100 in 10bb94c
is working working for the first 9 cells. If there is a double digit cell with a multi line example, the copy button does not work.
The regular expression looks for 3 dots ans a double dot. But for larger numbers there are the length of the number of the cell plus two dots.