fix r regex for article class and delete unneeded leftovers