golang regexp unknown escape sequence code example
Example: 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.*)\].*`)
// using backticks '`' can solve this
r := regexp.MustCompile(`.*\[(\d\d\/\w+/\d\d\d\d:\d\d:\d\d:\d\d.*)\].*`)