niesfisch / tokenreplacer

Token Replacer is a simple and small Java Library that helps replacing tokens in strings. You can replace the tokens with static values or create values "on-the-fly" by calling a generator. You can even pass arguments to the generator which makes it pretty powerful.

Home Page:www.marcel-sauer.de

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

BUG-2 signs are removed

bluecollarcoder opened this issue · comments

When processing a string with pound signs (#), all the pound signs get replaced.

I have changed END_OF_STRING in FiniteStateMachineTokenReplacer to '\0' which fixes the problem. I also added a new unit test method. Please give me push permission to push back to master.

fixed in version 1.3.2

thanks for reporting this bug.