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