regex arguments were the wrong way around.