Allow empty replacement argument