In this example:
test_replacer = KeywordProcessor(case_sensitive=True)
test_replacer.add_keyword("aa", "b")
test_replacer.add_keyword("cc", "d")
test_replacer.set_non_word_boundaries("")
teststring = "aacc"
replacedstring = test_replacer.replace_keywords(teststring)
print("Teststring:\n" + teststring)
print("Replacedstring:\n" + replacedstring)
I get this output:
Teststring:
aacc
Replacedstring:
bcc
I expect to get bd. Am I misunderstanding the intended behaviour, or is this a bug?