Made regex patterns work (multiple closing delimiters still unresolved)
Removed __match variable (because it breaks when parts of __data are deleted)
Fixed file saving, restricted exception, now adding blank line before variable
Fixed number of blank lines moved (positive lookbehind assertion in RegEx), PEP8 comparison with None