Small changes to two regular expressions