flutter-form-builder-ecosystem / flutter-form-builder-ecosystem/form_builder_validators

<EmailValidator>: EmailValidator does not conform to RFC standard

Open
#160 4 comments 1 reaction 0 assignees View on GitHub
enhancement
Dominant language
Dart
Stars
67
Forks
106
Avg merge
2d 21h
Merged PRs (30d)
1

Description

### Is there an existing issue for this?

- [x] I have searched the existing issues

### Package/Plugin version

11.2.0

### What you'd like to happen

The RegExp pattern does not conform to the [RFC](https://www.rfc-editor.org/rfc/rfc5322#section-3.4) standard for email.
https://github.com/flutter-form-builder-ecosystem/form_builder_validators/blob/f944f2b832c23fff5238499d849c9b5f3f2e4aed/lib/src/network/email_validator.dart#L44

The [email_validator](https://pub.dev/packages/email_validator) package has an implementation that conforms to this.
I suggest that the package utilize this package for email validation or have an implementation of its own.

### Alternatives you've considered

_No response_

### Aditional information

_No response_

Contributor guide

Open the contributing guide

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.