BUG/CLN: remove infer_types
BUG: fix bug with replace when a compiled regex was passed but regex=False
TST: add tests for new com functions
DOC: add release notes, whatsnew and consolidate replace API changes