added regex from dice.js to chat parser