Giant blob of minor changes
[dotfiles/.git] / .config / coc / extensions / coc-go-data / tools / pkg / mod / honnef.co / go / tools@v0.0.1-2020.1.5 / simple / testdata / src / regexp-raw / regexp-raw.go
1 package pkg
2
3 import "regexp"
4
5 func fn2() string { return "" }
6
7 func fn() {
8         x := "abc"
9         const y = "abc"
10         regexp.MustCompile(`\\.`)
11         regexp.MustCompile("\\.") // want `should use raw string.+\.MustCompile`
12         regexp.Compile("\\.")     // want `should use raw string.+\.Compile`
13         regexp.Compile("\\.`")
14         regexp.MustCompile("(?m:^lease (.+?) {\n((?s).+?)\\n}\n)")
15         regexp.MustCompile("\\*/[ \t\n\r\f\v]*;")
16         regexp.MustCompile(fn2())
17         regexp.MustCompile(x)
18         regexp.MustCompile(y)
19 }