Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Cannot ignore blank lines 无法忽略空白行 #468

Closed
MikeWang000000 opened this issue Feb 16, 2021 · 1 comment
Closed

Cannot ignore blank lines 无法忽略空白行 #468

MikeWang000000 opened this issue Feb 16, 2021 · 1 comment

Comments

@MikeWang000000
Copy link

某些歌词来源(如网易云)存在较多空行,即一行歌词结束后,它的下一行是空行。这样桌面歌词出现/消失过于频繁。
我想利用过滤功能忽略空白行(例如正则表达式/^\s*)但是对于无任何字符的空行不起作用。

Some lyric sources (e.g. 163) contains too many empty lines (after a line of lyrics ends, its next line is empty). This leads to Desktop lyrics appearing/disappearing too often.
I would like to use the filter to ignore blank lines (e.g. using regular expression /^\s*) but it doesn't work for blank lines which have no characters.

@ddddxxx
Copy link
Owner

ddddxxx commented Feb 18, 2021

已确认正则的处理有误。即使以/开头也没有按照正则表达式来匹配。正常来说/^$应该能过滤掉空行

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

2 participants