Hi Michael,
I have consulted the Edit development team regarding collapsable blocks.Our development team''s opinion is that it is not possible to support undefined end blocks in the current architecture,so please give some more strict rules for end blocks if you want to support collapsing in this case. I have also tested for the second issue and was able to see the problem here and have notified the development team in this regard. We have logged a bug report Defect # 2328 on this, and will try our very best to address the same at the earliest. You could track the progress of this bug fix at this link below :
Defect #2328 - Issue with regular expression in configuration file
Thanks for your patience.
Regards,
Ebenezer.P