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.
proposal: regexp: port RE2's CoalesceWalker to Go's regexp package #11855
Fair call. I had observed that Go already supports factoring out common prefixes of alternations as per https://github.com/golang/go/blob/master/src/regexp/syntax/parse.go#L394, so I figured that I would at least offer. :)