225
237
"""Utility class. Contains methods to parse and manipulate apache conf
227
239
def tokenize (self, line ):
229
241
result = re.match( basic_regexp, line, re.IGNORECASE )
230
242
if ( result == None ): return False
232
247
def value_unescape(self, value):
233
248
#value should have no precedig or trailing spaces
234
250
if value == "" : return value
236
252
if char == '"' or char == "'":