ENH: str.replace accepts a compiled expression
.str.replace now accepts a compiled regular expression.

See #15446

 - [x] closes #15446
 - [x] tests added / passed
 - [x] passes ``git diff upstream/master | flake8 --diff``
 - [x] whatsnew entry
