Fixed a minro bug in a regex.