Whether to match globally.
A RegExp matching an email address.
Construct an Email Placeholder Regex
const emailPlaceholderRegex = Matches.Container("email", [], Matches.EmailAddress());
console.log(emailPlaceholderRegex.test("{{email:johnny.appleseed@apple.com}}")); // true
console.log(emailPlaceholderRegex.test("{{email:http://www.google.com}}")); // false
Generated using TypeDoc
Matches an RFC 5322 compliant email address