mirror of
https://github.com/golang/go
synced 2024-11-26 14:46:47 -07:00
cmd/compile: use raw strings to avoid double escapes
Signed-off-by: guoguangwu <guoguangwug@gmail.com>
This commit is contained in:
parent
f7c330eac7
commit
785589211c
@ -591,7 +591,7 @@ func newGdb(t testing.TB, tag, executable string, args ...string) dbgr {
|
||||
s := &gdbState{tagg: tag, cmd: cmd, args: args}
|
||||
s.atLineRe = regexp.MustCompile("(^|\n)([0-9]+)(.*)")
|
||||
s.funcFileLinePCre = regexp.MustCompile(
|
||||
"([^ ]+) [(][^)]*[)][ \\t\\n]+at ([^:]+):([0-9]+)")
|
||||
`([^ ]+) [(][^)]*[)][ \t\n]+at ([^:]+):([0-9]+)`)
|
||||
// runtime.main () at /Users/drchase/GoogleDrive/work/go/src/runtime/proc.go:201
|
||||
// function file line
|
||||
// Thread 2 hit Breakpoint 1, main.main () at /Users/drchase/GoogleDrive/work/debug/hist.go:18
|
||||
|
Loading…
Reference in New Issue
Block a user