github.com/pavlo67/common@v0.5.3/common/filelib/regexps.go (about)

     1  package filelib
     2  
     3  import "regexp"
     4  
     5  var reSpecials = regexp.MustCompile(`[\\/?!:\s+]`)
     6  
     7  var reBackslash = regexp.MustCompile(`\\`)
     8  var reExt = regexp.MustCompile(`\..*`)
     9  var rePoint = regexp.MustCompile(`^\.`)