I never wrote a plugin before. It will be good if solution for this problem got solve in a plugin.
swinhoe,
I have the same thought, wordpress.org team should be aware of this. Just they not fixing it. Anyway, glad to hear the solution work for you.
Recopy the example code here… as the backticks code make it appear weird.
// LOCAL PART
// Test for invalid characters
if ( preg_match( ‘/[!#$%&*+\/=?^`{|}~]/’, $local ) ) {
return apply_filters( ‘is_email’, false, $email, ‘local_invalid_chars’ );
}