gitlab.com/evatix-go/core@v1.3.55/enums/stringcompareas/isRegex.go (about) 1 package stringcompareas 2 3 import "gitlab.com/evatix-go/core/regexnew" 4 5 // isRegexFunc no use of isCaseSensitive 6 // 7 // isCaseSensitive is kept for consistency and calling ability 8 var isRegexFunc = func( 9 contentLine, 10 regexStringSearching string, 11 isIgnoreCase bool, 12 ) bool { 13 return regexnew.IsMatchLock( 14 regexStringSearching, 15 contentLine) 16 }