Skip to content

Commit

Permalink
Add | as comment indicator (#168)
Browse files Browse the repository at this point in the history
  • Loading branch information
kezhenxu94 authored Sep 4, 2023
1 parent 6b25292 commit e19b828
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions pkg/license/norm.go
Original file line number Diff line number Diff line change
Expand Up @@ -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+`)
Expand Down

0 comments on commit e19b828

Please sign in to comment.