Skip to content

Replace only the last occurence of entries containing domain_name. - #9

Open
mgla wants to merge 1 commit into
aws-samples:masterfrom
mgla:master
Open

Replace only the last occurence of entries containing domain_name.#9
mgla wants to merge 1 commit into
aws-samples:masterfrom
mgla:master

Conversation

@mgla

@mgla mgla commented Aug 20, 2018

Copy link
Copy Markdown

Using replace() will result in entries not being removed. E.g.

foo.example.com.example.com.

will be transformed to

foo.

when it should be

foo.example.com

(the trailing . needs to be removed, to ensure it wont be added back to r53.

Using replace() will result in entries not being removed. E.g.

    foo.example.com.example.com.

will be transformed to

    foo.

when it should be

    foo.example.com

(the trailing `.` needs to be removed, to ensure it wont be added back to r53.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant