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
2022-03-16 18:46:08 +08:00
2022-03-16 18:46:08 +08:00
2022-03-19 17:31:25 +08:00
2022-04-02 00:45:20 +08:00
2022-04-02 00:45:20 +08:00
2022-03-16 18:46:08 +08:00
2022-03-19 17:31:25 +08:00
2022-03-16 18:46:08 +08:00
2022-04-09 01:13:15 +08:00
2022-03-16 18:46:08 +08:00
2022-04-09 01:13:15 +08:00

YesPlayMusic 2.0

Description
Languages
Vue 53.3%
JavaScript 37%
CSS 8.5%
SCSS 0.6%
Nix 0.2%
Other 0.4%