[21.5R21.4] Implement replace-regexp-in-string with SUBEXP