Regex regression test

sadly i don't know much regex, you'll probably be faster at it than me