This is an automated email from the ASF dual-hosted git repository.
wusheng pushed a commit to branch main
in repository https://gitbox.apache.org/repos/asf/skywalking-eyes.git
The following commit(s) were added to refs/heads/main by this push:
new e19b828 Add `|` as comment indicator (#168)
e19b828 is described below
commit e19b828cea6a6027cceae78f05d81317347d21be
Author: kezhenxu94 <[email protected]>
AuthorDate: Mon Sep 4 19:18:37 2023 +0800
Add `|` as comment indicator (#168)
---
pkg/license/norm.go | 2 ++
1 file changed, 2 insertions(+)
diff --git a/pkg/license/norm.go b/pkg/license/norm.go
index c01a8d9..c9761d5 100644
--- a/pkg/license/norm.go
+++ b/pkg/license/norm.go
@@ -70,6 +70,8 @@ var (
regexp.MustCompile(`(?m)^\s*{\*+`), // {*
regexp.MustCompile(`(?m)^\s*\*+}`), // *}
regexp.MustCompile(`(?m)^\s*'+`), // '
+
+ regexp.MustCompile(`(?m)^\s*\|+`), // '
}
flattenSpace = regexp.MustCompile(`\s+`)