redone: regex: sub: added support for callable replacements