import sys
import re

emailCheck= re.compile(r"(^[-!#$%&'*+/=?^_`{}|~0-9A-Z]+(\.[-!#$%&'*+/=?^_`{}|~0-9A-Z]+)*"  # dot-atom
    r'|^"([\001-\010\013\014\016-\037!#-\[\]-\177]|\\[\001-011\013\014\016-\177])*"' # quoted-string
    r')@(?:[A-Z0-9](?:[A-Z0-9-]{0,61}[A-Z0-9])?\.)+[A-Z]{2,6}\.?$', re.IGNORECASE)  # domain)

test_cases = open(sys.argv[1], 'r')
for test in test_cases:
    if test.strip()!="":
        if emailCheck.match(test.strip()):
            print("true")
        else: 
            print("false")
    else:
        pass
           

test_cases.close()

5eae349373c790b83e3f42864031c28c440896c5
<mask token>

<mask token>
for test in test_cases:
    if test.strip() != '':
        if emailCheck.match(test.strip()):
            print('true')
        else:
            print('false')
    else:
        pass
test_cases.close()

<mask token>
emailCheck = re.compile(
    '(^[-!#$%&\'*+/=?^_`{}|~0-9A-Z]+(\\.[-!#$%&\'*+/=?^_`{}|~0-9A-Z]+)*|^"([\\001-\\010\\013\\014\\016-\\037!#-\\[\\]-\\177]|\\\\[\\001-011\\013\\014\\016-\\177])*")@(?:[A-Z0-9](?:[A-Z0-9-]{0,61}[A-Z0-9])?\\.)+[A-Z]{2,6}\\.?$'
    , re.IGNORECASE)
test_cases = open(sys.argv[1], 'r')
for test in test_cases:
    if test.strip() != '':
        if emailCheck.match(test.strip()):
            print('true')
        else:
            print('false')
    else:
        pass
test_cases.close()

import sys
import re
emailCheck = re.compile(
    '(^[-!#$%&\'*+/=?^_`{}|~0-9A-Z]+(\\.[-!#$%&\'*+/=?^_`{}|~0-9A-Z]+)*|^"([\\001-\\010\\013\\014\\016-\\037!#-\\[\\]-\\177]|\\\\[\\001-011\\013\\014\\016-\\177])*")@(?:[A-Z0-9](?:[A-Z0-9-]{0,61}[A-Z0-9])?\\.)+[A-Z]{2,6}\\.?$'
    , re.IGNORECASE)
test_cases = open(sys.argv[1], 'r')
for test in test_cases:
    if test.strip() != '':
        if emailCheck.match(test.strip()):
            print('true')
        else:
            print('false')
    else:
        pass
test_cases.close()

import sys
import re

emailCheck= re.compile(r"(^[-!#$%&'*+/=?^_`{}|~0-9A-Z]+(\.[-!#$%&'*+/=?^_`{}|~0-9A-Z]+)*"  # dot-atom
    r'|^"([\001-\010\013\014\016-\037!#-\[\]-\177]|\\[\001-011\013\014\016-\177])*"' # quoted-string
    r')@(?:[A-Z0-9](?:[A-Z0-9-]{0,61}[A-Z0-9])?\.)+[A-Z]{2,6}\.?$', re.IGNORECASE)  # domain)

test_cases = open(sys.argv[1], 'r')
for test in test_cases:
    if test.strip()!="":
        if emailCheck.match(test.strip()):
            print("true")
        else: 
            print("false")
    else:
        pass
           

test_cases.close()
