On this line here,
emailRegex = re.compile('''(
[A-Za-z0-9-_+.]+ #name part (AZaz+_-.)
@ #@
[A-Za-z0-9-_+.]+ #domain
)''', re.VERBOSE) # you missed a comma here after triple-quote.
1
solved Invalid Syntax on .findall (text) highlighting just the ( or random letter? [closed]