Permalink
Browse files

Allow for hostnames with hyphens in the perl regex

  • Loading branch information...
1 parent e878452 commit 0639c98e1c5baadf0883e73833d8e7098dab4468 @jravetch jravetch committed May 31, 2013
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
-------

0 comments on commit 0639c98

Please sign in to comment.