Skip to content

Small change to domain RE#76

Merged
kvesteri merged 5 commits into
python-validators:masterfrom
Ni-Knight:master
Jun 3, 2018
Merged

Small change to domain RE#76
kvesteri merged 5 commits into
python-validators:masterfrom
Ni-Knight:master

Conversation

@Ni-Knight

@Ni-Knight Ni-Knight commented Feb 14, 2018

Copy link
Copy Markdown
Contributor

fixes #73
fixes #71
fixes #66

Removing [.] from in the regex and added a non capturing group for it.
Added the following test case `a......b.com` to invalid domains.
@Ni-Knight

Copy link
Copy Markdown
Contributor Author

@kvesteri not sure what I'm failing at, sorry.

removed extra lines.
@Ni-Knight

Copy link
Copy Markdown
Contributor Author

@kvesteri nvm 😄

@kvesteri

Copy link
Copy Markdown
Collaborator

Squash the commits, otherwise looks good.

@ghost ghost mentioned this pull request Feb 22, 2018
@Ni-Knight

Ni-Knight commented Feb 28, 2018

Copy link
Copy Markdown
Contributor Author

@kvesteri How do I squash the commits on github =\
Couldn't find it, isn't it done when merging?

@kvesteri kvesteri merged commit fa3cb28 into python-validators:master Jun 3, 2018
@kvesteri

kvesteri commented Jun 3, 2018

Copy link
Copy Markdown
Collaborator

Thanks for the PR! 🌮

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.

validators.domain('a......b.com') returns True Domain Validator - International Domains domain('foo.bar/baz') validates as 'True'

2 participants