I have a problem with a regex in java.
When I try to use this regex:
"Invalid escape sequence (valid ones are \b \t \n \f \r \" \' \ )"
This should work
The reason is that the listed symbols in the error message have special meaning, but
\d is not one of those defined special symbols for using
\, this means you have to escape it (by adding an extra
\ in front of the symbol).