Fixed a regular expression problem