Answers for "golang regexp unknown escape sequence"

Go
1

golang regexp unknown escape sequence

// using backticks '`' can solve this
r := regexp.MustCompile(`.*\[(\d\d\/\w+/\d\d\d\d:\d\d:\d\d:\d\d.*)\].*`)
Posted by: Guest on March-27-2021

Browse Popular Code Answers by Language