You're correct, I accidentally omitted backslashes on \d and \s. I checked and the pattern was correct during the test.