Yes, you're right.  
It is unusual - normally I would expect eol to point at the character after the end of the string you want to include, rather than the last character in the string.