"I don't know what the \\s)
stand for? I know it can mach the character )
, and I want to know the rule of the matching string."
\s)
matches one occurrence of a character with syntax class "close parenthesis".
See the Elisp manual, node Syntax Class Table.
Open parenthesis characters: (
Close parenthesis characters: )
Characters used in dissimilar pairs to surround sentences or
expressions. Such a grouping is begun with an open parenthesis
character and terminated with a close. Each open parenthesis
character matches a particular close parenthesis character, and
vice versa. Normally, Emacs indicates momentarily the matching
open parenthesis when you insert a close parenthesis. *Note
Blinking::.
In human languages, and in C code, the parenthesis pairs are ()
,
[]
, and {}
. In Emacs Lisp, the delimiters for lists and
vectors (()
and []
) are classified as parenthesis characters.