def _postprocess(config_string):
 flags = (re.IGNORECASE | re.MULTILINE)
 result = re.sub(u'^\\[__COMMENTS__\\](\\n|$)', u'', config_string, flags=flags)
 result = re.sub(u'\\n__INLINE\\d+__ =(.*)$', u' ;\\g<1>', result, flags=flags)
 result = re.sub(u'^__HASH\\d+__ =(.*)$', u'#\\g<1>', result, flags=flags)
 result = re.sub(u'^__SEMICOLON\\d+__ =(.*)$', u';\\g<1>', result, flags=flags)
 result = re.sub(u'\\n__SECTION\\d+__ =(.*)$', u'\\g<1>', result, flags=flags)
 result = re.sub(u'^__BLANK\\d+__ =$', u'', result, flags=flags)
 return result

def _postprocess ( config_string ) : flags = ( re . IGNORECASE | re . MULTILINE ) result = re . sub ( u'^\\[__COMMENTS__\\](\\n|$)' , u'' , config_string , flags = flags ) result = re . sub ( u'\\n__INLINE\\d+__ =(.*)$' , u' ;\\g<1>' , result , flags = flags ) result = re . sub ( u'^__HASH\\d+__ =(.*)$' , u'#\\g<1>' , result , flags = flags ) result = re . sub ( u'^__SEMICOLON\\d+__ =(.*)$' , u';\\g<1>' , result , flags = flags ) result = re . sub ( u'\\n__SECTION\\d+__ =(.*)$' , u'\\g<1>' , result , flags = flags ) result = re . sub ( u'^__BLANK\\d+__ =$' , u'' , result , flags = flags ) return result
converts a preprocessed config back to original form .