use global regexp modifier by default to replace all occurences