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: Named captures should appear in a hashmap #32881
The regexp API expects users to perform dangerous index arithmetic between two different arrays, defeating the purpose of naming capture groups. Let's provide a standard method for retrieving capture groups from regexp results in the form of hashmaps, using the names specified in the regular expression.