# TODO: COPY RESULTS TO THE CLIPBOARD
if len(matches) > 0:
pyperclip.copy('\n'.join(matches))
print('copied to clipboard:')
print(\'\n'.join(matches))
else:
print('no phone numbers or email addresses found.')
答案 0 :(得分:0)
您需要删除反斜杠(\):
此:
print(\'\n'.join(matches))
应该是:
print('\n'.join(matches))