allow regex replacement