1
vibbow 2020-06-04 23:47:32 +08:00
[^=]+$
------ [^=]+$ Options: Case sensitive; Exact spacing; Dot doesn’t match line breaks; ^$ don’t match at line breaks; Greedy quantifiers; Regex syntax only * [Match any character that is NOT a “=”][1] `[^=]+` * [Between one and unlimited times, as many times as possible, giving back as needed (greedy)][2] `+` * [Assert position at the end of the string, or before the line break at the end of the string, if any (line feed)][3] `$` Created with [RegexBuddy]( https://www.regexbuddy.com/) [1]: https://www.regular-expressions.info/characters.html [2]: https://www.regular-expressions.info/repeat.html [3]: https://www.regular-expressions.info/anchors.html |
2
vibbow 2020-06-04 23:47:53 +08:00
说好的可以贴 MD 格式呢。。。
|
3
vibbow 2020-06-04 23:48:46 +08:00
|
4
GromHellscream OP @vibbow 谢谢老哥,这软件真好,可惜 win 限定。
那根据这内容,我的理解是对的喽? |
5
GromHellscream OP @vibbow 再次感谢,这 regular-expressions.info 网站真好,谢谢
|
6
ulala 2020-06-05 05:22:30 +08:00 via iPad
@GromHellscream 就是匹配开头不是等号的非空行。
|
7
ulala 2020-06-05 05:28:56 +08:00 via iPad
哦,不对,是不以等号结尾的非空行,匹配该后缀
|
8
jxie0755 2020-06-05 07:37:56 +08:00 via iPhone
|