Moves regex def up the file.