Skip to content

Mail appears as valid #15

@chuma9615

Description

@chuma9615

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!

Metadata

Metadata

Assignees

No one assigned

    Labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions