Seditio Source
Root
|
.
/
othercms
/
phpBB3
/
vendor
/
s9e
/
text-formatter
/
src
/
Parser
/
AttributeFilters
/
EmailFilter.js
/** @const */
var EmailFilter =
{
/**
* @param {*} attrValue
* @return {*}
*/
filter: function(attrValue)
{
return /^[-\w.+]+@[-\w.]+$/.test(attrValue) ? attrValue : false;
}
};