flashtext icon indicating copy to clipboard operation
flashtext copied to clipboard

Replace problem

Open fabrother opened this issue 5 years ago • 0 comments

My python3 code:

keyword_processor.add_keyword('{ProductName}', 'MILK') keyword_processor.add_keyword('{ParkingPlace}', 'good') case1 = keyword_processor.replace_keywords('Hello,{ProductName}{ParkingPlace}!') print(case1)

case2 = keyword_processor.replace_keywords('Hello,{ProductName} {ParkingPlace}!') print(case2)

the output result

Hello,MILK{ParkingPlace}! Hello,MILK good!

I want the output of case1 same as case2

fabrother avatar Jul 26 '18 02:07 fabrother