What is meant by [\\s\\S]* in regex in PHP? Does [\\s\\S]* actually match every string the same as .*?
[\\s\\S]*
.*
[\s\S] A character set that matches any character including line breaks.
[\s\S]
. Matches any character except line breaks.
.