Regex fix #2

Literally minutes after the last fix, I ran into an error with it. Hopefully this will work.