Domain names with two part extensions fail.
duanecilliers opened this issue · 4 comments
duanecilliers commented
When running yo genesis-wordpress
and I enter a domain with a two-part extension (i.e. example.co.za) for the Domain name (e.g. mysite.com)
prompt, it re-prompts with the following message "example.co.za does not match the example".
Is there any way around this?
ericclemmons commented
Well crap. That's totally my fault. I'll fix it so it works for you!
duanecilliers commented
Thanks a million!
EvanK commented
@ericclemmons This should do it: /^[\w-]+\.\w+(?:\.\w{2,3})?$/
ericclemmons commented
Geeze dude, you're too good with those things! Regular Expressions are your duct-tape!