cleanup legacy code
adjust regexp prompt-replace-regexp in tracebug filter