diff --git a/greenlock.js b/greenlock.js index 1192034..b895eb4 100644 --- a/greenlock.js +++ b/greenlock.js @@ -69,7 +69,7 @@ function addGreenlockAgent(opts) { } // ex: John Doe (https://john.doe) -var looseEmailRe = /.* <([^'" <>:;`]+@[^'" <>:;`]+\.[^'" <>:;`]+)> .*/; +var looseEmailRe = /.*([^'" <>:;`]+@[^'" <>:;`]+\.[^'" <>:;`]+).*/; function parsePackage(opts) { // 'package' is sometimes a reserved word var pkg = opts.package || opts.pkg;