\s white-space characters
\S Non-white-space characters
\d digital numbers
\D non-digital numbers
\w word character
\W non-word character
\s white-space characters
\S Non-white-space characters
\d digital numbers
\D non-digital numbers
\w word character
\W non-word character
转载于:https://www.cnblogs.com/un4sure/p/4871705.html