Skip to content

Commit ecb7781

Browse files
author
David Gatti
committed
Updated regexp
1 parent c0e21f4 commit ecb7781

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

index.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -79,7 +79,7 @@ function extract_data(container)
7979

8080
let tmp_from = container
8181
.from
82-
.match(/[a-z0-9-]{1,30}@[a-z0-9-]{1,65}.[a-z]{1,}/gm)[0]
82+
.match(/[a-z0-9-+]{1,30}@[a-z0-9-]{1,65}.[a-z]{1,}/gm)[0]
8383
.split('@');
8484

8585
//

0 commit comments

Comments
 (0)