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

Domain name regex #22

Open
peter-held opened this issue Sep 2, 2017 · 1 comment
Open

Domain name regex #22

peter-held opened this issue Sep 2, 2017 · 1 comment
Assignees

Comments

@peter-held
Copy link

Hello,

is it possible to modify the 'domain_component' regex to accept also domains like '_spf1.example.com'.

my $domain_component = '\b[a-zA-Z0-9](?:[a-zA-Z0-9\-]{0,61}[a-zA-Z0-9])?\b';

Thank you.

@HariSekhon
Copy link
Owner

@peter-held

Thanks for raising this... I'll put this on the todo list as I'm working on other things right now.

Hopefully it won't be too long before I get round to this.

Cheers

Hari

@HariSekhon HariSekhon self-assigned this Sep 6, 2017
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

2 participants