Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Appearance settings

Conversation

heanzyzabala
Copy link
Contributor

I added regex for EG and SV and added test for each.

  • EG800002000156789012345180002
  • SV43ACAT00000000000000123123

Some of the IBANs provided in the issue seems to be working as expected:

  • SC52BAHL01031234567890123456USD
  • LC14BOSL123456789012345678901234
  • MT31MALT01100000000000000000123

... so I added them in the tests to prove the validity.

Checklist

  • PR contains only changes related; no stray files, etc.
  • README updated (where applicable)
  • Tests written (where applicable)

Copy link
Member

@profnandaa profnandaa left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM

@profnandaa profnandaa merged commit bb7b211 into validatorjs:master Jul 27, 2020
@profnandaa profnandaa mentioned this pull request Sep 18, 2020
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants

Morty Proxy This is a proxified and sanitized view of the page, visit original site.