(codeline, c=re.compile(r"^(\s*)(\w*)"))
return c.match(codeline).groups()
Extract the beginning whitespace and first word from codeline.
Extract the beginning whitespace and first word from codeline.
Extract the beginning whitespace and first word from codeline .
def get_spaces_firstword(codeline, c=re.compile(r"^(\s*)(\w*)")):
    "Extract the beginning whitespace and first word from codeline."
    return c.match(codeline).groups()
def get_spaces_firstword ( codeline , c = re . compile ( r"^(\s*)(\w*)" ) ) : return c . match ( codeline ) . groups ( )