Escape delimiters in variables in sed expressions