ignore vim backup files

Having tests fail because vim created a ~ file for something is just
annoying.
simplify redundant part of PREGf_ANCH_GPOS test

And add an assert to be sure that we are correct.