- 12个需转义的字符.
backslash \ #反斜线
caret ^ # 锚定符
dollar sign $ # 美元符号
dot . # 点号
pipe symbol | # 管道符
question mark ? # 问号
asterisk * # 星号
plus sign + # 加号
opening parenthesis ( # 左括号
Closing parenthesis ) # 右括号
Opening square bracket [ # 左中括号
The opening curly brace { # 左大括号
- Character classes 字符集
网友评论