(line, lineNumber=None)
return (match.group('name').replace('_','-'),
            parseParams(match.group('params')),
            match.group('value'), match.group('group'))
Parse line
Parse line
Parse line
def parseLine(line, lineNumber=None):
    """
    Parse line
    """
    match = line_re.match(line)
    if match is None:
        raise ParseError("Failed to parse line: {0!s}".format(line), lineNumber)
    # Underscores are replaced with dash to work around Lotus Notes
    return (match.group('name').replace('_','-'),
            parseParams(match.group('params')),
            match.group('value'), match.group('group'))
def parseLine ( line , lineNumber = None ) : match = line_re . match ( line ) if match is None : raise ParseError ( "Failed to parse line: {0!s}" . format ( line ) , lineNumber ) # Underscores are replaced with dash to work around Lotus Notes return ( match . group ( 'name' ) . replace ( '_' , '-' ) , parseParams ( match . group ( 'params' ) ) , match . group ( 'value' ) , match . group ( 'group' ) )