Bug 416250 - [Editor][Documentation Support] Regex for matching an ending block should not depend on start of the string (^)