lib/extern/optparse/lib/optparse.js
function filter_email(value) {
    var m = EMAIL_RE.exec(value);
    if(m == null) throw OptError('Excpeted an email address.');
    return m[1];
}
function filter_email(value) {
    var m = EMAIL_RE.exec(value);
    if(m == null) throw OptError('Excpeted an email address.');
    return m[1];
}
function filter_email ( value ) { var m = EMAIL_RE . exec ( value ) ; if ( m == null ) throw OptError ( 'Excpeted an email address.' ) ; return m [ 1 ] ; }
Switch argument filter that expects an email address. An exception is throwed if the criteria doesn`t match.
Switch argument filter that expects an email address . An exception is throwed if the criteria doesn t match .