Minor edits on regex.