datamatcher_init: play it safe and do a strdup on the match string