Join GitHub today
GitHub is home to over 50 million developers working together to host and review code, manage projects, and build software together.Sign up
GitHub is where the world builds software
Millions of developers and companies build, ship, and maintain their software on GitHub — the largest and most advanced development platform in the world.
regexp: i used "(?:re)" regex but found maybe it's capturing-group but as describe in package #21185
Please answer these questions before submitting your issue. Thanks!
What version of Go are you using (
To see this behaviour:
fmt.Println(`^1234(?:\\|)`) // outputs: ^1234(?:\\|) fmt.Println("^1234(?:\\|)") // outputs: ^1234(?:\|)
You wanted the first behaviour, and therefore should use raw string.