Skip to content

Fix issue 17217 - std.net.isemail.isEmail doesn't work with non char …#5173

Merged
JackStouffer merged 1 commit intodlang:masterfrom
JackStouffer:issue17217
Feb 21, 2017
Merged

Fix issue 17217 - std.net.isemail.isEmail doesn't work with non char …#5173
JackStouffer merged 1 commit intodlang:masterfrom
JackStouffer:issue17217

Conversation

@JackStouffer
Copy link
Contributor

…arrays

A simple fix with a large diff.

@dlang-bot
Copy link
Contributor

Fix Bugzilla Description
17217 std.net.isemail.isEmail doesn't work with non char arrays

import std.uni : isNumber;

alias tstring = const(Char)[];
alias TstringToken = Token!(Char);
Copy link
Member

Choose a reason for hiding this comment

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

A simpler change is to rename current Token --> TokenImpl, and then add alias Token = TokenImpl!Char

@JackStouffer
Copy link
Contributor Author

@DmitryOlshansky Fixed

@JackStouffer
Copy link
Contributor Author

Auto-merge toggled on

@JackStouffer
Copy link
Contributor Author

I removed the label because the auto-merge label does not prioritize the PR in the auto-tester and so it was taking too long.

@JackStouffer JackStouffer merged commit c32240a into dlang:master Feb 21, 2017
@wilzbach
Copy link
Contributor

FYI

@JackStouffer JackStouffer deleted the issue17217 branch May 22, 2017 17:36
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

4 participants