This prevents extra newline characters from being mistakenly inserted on multiline strings with more than 2 lines.
This patch also return the opening line number for multiline strings instead of the closing one.
I looked a bit deeper as I couldn't understand why the problem was happening, and found a different fix for the misbehaving regex. I will release a new version!
This prevents extra newline characters from being mistakenly inserted on multiline strings with more than 2 lines. This patch also return the opening line number for multiline strings instead of the closing one.