Use of regular expressions here is unnecessary.