Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP
Browse files

Merge pull request #66 from jravetch/master

Allow for hostnames with hyphens in regex

* jravetch/master:
  Allow for hostnames with hyphens in the perl regex
  • Loading branch information...
commit 54003da91bc180d88a6bd278101d5bb8009c65f5 2 parents e878452 + 0639c98
Barnaby Gray authored
Showing with 1 addition and 1 deletion.
  1. +1 −1  README.markdown
View
2  README.markdown
@@ -101,7 +101,7 @@ If you see CNAME records being imported to route53 with an extra
mydomain.com on the end (e.g. ghs.google.com.mydomain.com), then you
need to fix your zone file before importing:
- $ perl -pe 's/(CNAME\s+[a-zA-Z0-9.-_]+)(?!.)$/$1./i' broken.txt > fixed.txt
+ $ perl -pe 's/(CNAME\s+[-a-zA-Z0-9.-_]+)(?!.)$/$1./i' broken.txt > fixed.txt
Caveats
-------
Please sign in to comment.
Something went wrong with that request. Please try again.