a redundant sub that does nothing is triggered for no reason
add anchors to regexp when built with prefix