xkcd-substitutions icon indicating copy to clipboard operation
xkcd-substitutions copied to clipboard

Repeated replacement if [word] contained within Substitution.

Open busti opened this issue 8 years ago • 1 comments

When replacing a phrase like "Batman" with "The Batman" the phrase is repeatedly replaced until a limit is hit causing stuff like this:

thethethethebatman

busti avatar Feb 22 '17 09:02 busti

Also see #28, of which this is a special case, and #48, which fixes this issue.

piquan avatar Mar 08 '17 10:03 piquan