I am working with regex and wanted to save the following to a string. Something like: r_string=':"\<\d>"'
r_string=':"\<\d\>"'
however, when I print out the string, I get a double \
Even using the following results in double :
r_string=':"\\<\\d\\>"'
any ideas why ?