I’m having a small issue with a warning 14 : illegal backslash escape in string.
I need to remove all
$ from a name. I’m therefore using
Str.global_replace (Str.regexp "\$") "_" name
Warning 14: illegal backslash escape in string. because I’m escaping a
$ which usually doesn’t have to be escaped, except in a regexp…
How can I prevent the warning ? Should I just disable the warning completely ?