8 lines
130 B
Go
8 lines
130 B
Go
package fileops
|
|
|
|
import "regexp"
|
|
|
|
func compilePattern(pattern string) (*regexp.Regexp, error) {
|
|
return regexp.Compile(pattern)
|
|
}
|