WIP on generic string matcher, does not work yet!