高颜值的第三方网易云播放器,支持 Windows / macOS / Linux :electron: https://music.qier222.com
Find a file
pan93412 3a204dc7bb
refactor(utils/lyric): more powerful role matcher (#1505)
* refactor(utils/lyric): more powerful role matcher

- 可以拉出角色 (role) 和名字 (name):
  `const { role, name } = line.groups as { role: string, name?: string }`

- 移除掉某些不需要的 regex 部分(如 `\s\S`)

- 簡化部分 regex(如 `(:|:)` 更改為 `[::]`)

- 增加測試 (<https://regexr.com/6j8pf>)

* fix(utils/lyric): add `/ (regex) /` back
2022-04-12 22:19:46 +08:00
.github/workflows chore: 更新依赖和build.sqlite3.js 2022-04-11 00:52:06 +08:00
.vscode chore: 用esbuild代替vite来打包main 2022-03-29 16:52:53 +08:00
build/icons feat: 支持GitHub Actions和一堆其他更新 2022-04-03 01:45:40 +08:00
scripts chore: 更新依赖和build.sqlite3.js 2022-04-11 00:52:06 +08:00
src refactor(utils/lyric): more powerful role matcher (#1505) 2022-04-12 22:19:46 +08:00
.electron-builder.config.js feat: 增加构建 sqlite3 二进制文件的脚本 2022-04-03 15:48:58 +08:00
.env refactor: version 2.0 (React) 2022-03-16 18:46:08 +08:00
.eslintrc.js refactor: version 2.0 (React) 2022-03-16 18:46:08 +08:00
.gitattributes chore: set binary type for files (#417) 2021-03-16 01:41:50 +08:00
.gitignore feat: updates 2022-03-19 17:31:25 +08:00
.npmrc feat: 解决build bug 2022-04-02 00:45:20 +08:00
.prettierignore feat: 解决build bug 2022-04-02 00:45:20 +08:00
LICENSE refactor: version 2.0 (React) 2022-03-16 18:46:08 +08:00
package.json chore: 更新依赖和build.sqlite3.js 2022-04-11 00:52:06 +08:00
pnpm-lock.yaml chore: 更新依赖和build.sqlite3.js 2022-04-11 00:52:06 +08:00
postcss.config.js refactor: version 2.0 (React) 2022-03-16 18:46:08 +08:00
prettier.config.js feat: updates 2022-03-19 17:31:25 +08:00
README.md refactor: version 2.0 (React) 2022-03-16 18:46:08 +08:00
tailwind.config.js chore: 用esbuild代替vite来打包main 2022-03-29 16:52:53 +08:00
tsconfig.json fix: bugs 2022-04-09 01:13:15 +08:00
types.d.ts refactor: version 2.0 (React) 2022-03-16 18:46:08 +08:00
vite.config.ts fix: bugs 2022-04-09 01:13:15 +08:00

YesPlayMusic 2.0