Replace your re.search as below, \S finds non-whitespace character, and + searches for one or more times. Python starts to search from first character.
import re
line = "STARC-1.1.1.5 ConsCase WARNING Warning"
m = re.search('\S+',line)
print(m.group(0))