add backrefmanager (not implemented), finish repeat matcher