<SYSTEM_TASK:>
Solve the following problem using Python, implementing the functions described below, one line at a time
<END_TASK>
<USER_TASK:>
Description:
 def _get_leading_words(line):
 """Return any leading set of words from `line`. For example, if `line` is " Hello world!!!", returns "Hello world". """

        result = re("[\w ]+").match(line.strip())
        if result is not None:
            return result.group()