Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func CompilePattern ¶
func CompilePattern(pattern string, regexProperties RegexProperties) (*regexp2.Regexp, error)
Types ¶
type RegexProperties ¶
type RegexProperties struct {
MatchLine bool `json:"match_line"`
CaseInsensitive bool `json:"case_insensitive"`
Type string `json:"type"`
Confidence string `json:"confidence"`
}
func DetermineProperties ¶
func DetermineProperties(pattern string, file string, matchLine bool) RegexProperties
Click to show internal directories.
Click to hide internal directories.