菜单

ABlog

Github
文章漫游 切换到深色模式 切换到浅色模式
"鹫鷟〇 你好 こんにちは hello Bonjour Здравствыйте <> 《》 ??.。,() ()+=-@#".match(
  // highlight-next-line
  /(\p{scx=Han}|\p{scx=Common})+/gsu
);
// (5) ['鹫鷟〇 你好 ', ' ', ' ', ' ', ' <> 《》 ??.。,() ()+=-@#']

/(\p{scx=Han}|\p{scx=Common})+/gsu 此正则表达式会匹配中文及其标点。