For example, what is the difference between [\s]
and \s
?
阿神2017-06-26 10:54:47
[ab]
means or
, one of a or
b, representing a character set
ab
means and
, a and
b appear at the same time, and ab is
continuous.
typecho2017-06-26 10:54:47
Do you have to ask this kind of question? Do you understand that Baidu can take 5 minutes?
怪我咯2017-06-26 10:54:47
There is no difference between
[s] and s. They both represent space characters
[abc] As long as one of abc appears
abc must be three consecutive abcs