simplified delta and regex-matcho