code: def _get_leading_words(line):
          
          result = re("[\w ]+").match(line.strip())
          if result is not None:
              return result.group()
docs: Return any leading set of words from `line`.
  
          For example, if `line` is "  Hello world!!!", returns "Hello world".