fixes #22378 by changing \d to [0-9]+ in all docs/ and tests/