Regex confusion: '\S' vs '\\S'

Same question: https://forum.freecodecamp.org/t/scientific-computing-with-python-regular-expressions/616648