📜  javascript 正则表达式标志 - Javascript 代码示例

📅  最后修改于: 2022-03-11 15:01:10.441000             🧑  作者: Mango

代码示例1
g : matches the pattern multiple times.
i : makes the regex case insensitive.
m : enables multi-line mode. ...
u : enables support for unicode.
s : short for single line, it causes the . to also match new line characters.