Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Mail appears as valid #15

Open
chuma9615 opened this issue Aug 3, 2019 · 0 comments
Open

Mail appears as valid #15

chuma9615 opened this issue Aug 3, 2019 · 0 comments
Labels

Comments

@chuma9615
Copy link

chuma9615 commented Aug 3, 2019

Hey! I think i've found a bug.

A strange behaviour occurs when you clean a string with numbers and then validate, code example.

const { validate, clean, format } = require('rut.js')
var mail = clean('[email protected]')
validate(mail)

when you run it it pass as a valid rut.

Thanks!

@jlobos jlobos added the bug label Aug 8, 2019
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

2 participants