'Uses augeas.get to get argument value and interprets result.
This also converts all variables and parameters appropriately.'

def get_arg(self, match):

    value = self.aug.get(match)
    value = value.strip('\'"')
    variables = ApacheParser.arg_var_interpreter.findall(value)
    for var in variables:
        try:
            value = value.replace(var, self.variables[var[2:(-1)]])
        except KeyError:
            raise errors.PluginError(('Error    Parsing    variable:    %s' % var))
    return value
