File optimization

diceroller.php
Realized I had used preg_match_all when I only needed preg_match.
Switched the function and variables to compensate.