slightly simpler regex expression