Make re-builder use query-replace-regexp syntax.