Fix Issue 2048: Huge lag when showing the answer of a card

the slow regex has been replaced with simple "indexOf" method