What are the differences between regular expressions found and replaced in vim and programming languages such as js?

  question, vim

What are the differences between vim’s regular expressions used to replace content and other programming languages?
It is only known that the first matching group in vim is used\1Equivalent to js$1.

Description of Metacharacter Meaning
 . Match any character
 \[abc\] matches any character in parentheses and can also represent a range, such as [a-z0-9]
 \ ["ABC \] matches any other characters except those in square brackets
 \d matches Arabic numerals, equivalent to [0-9]
 \D matches characters other than Arabic numerals, equivalent to [0-9]
 \x matches hexadecimal digits, equivalent to [0-9A-Fa-f]
 \X matches any character other than hexadecimal, equivalent to [0-9a-fa-f]
 \w matches the letter of the word, equivalent to [0-9A-Za-z_]
 \W matches any character other than the letter of the word, which is equivalent to [0-9a-za-z _]
 \t matches < Tab\ > characters
 \s matches white space characters, equivalent to [\t]
 \S matches non-white space characters, equivalent to [\ t]
 \ * Match 0- Any
 \ \+Match 1- Any
 \?  Match 0-1
 \\{n,m\} matches n-m
 \\{n,\} match n- any number
 \\{,m\} matches 0-m
 & Match End of Line
 Match line header
 \ < match word prefix

:help pattern-overview
Or look at the Chinese version of the documenthttps://github.com/vimcn/vimcdoc/blob/master/doc/pattern.txt