in reply to s/// treat rhs as regex

This wheel has already been invented.