regexpresion edition with dynamic backslashes