elixir-lang/elixir — pull request #2933 by Kabie (2014-12-08 14:46:19+00:00)
Title: Fix and enhance &Regex.replace/4

This is a PR for #2930.

Fixed the bug and added support for `\g{N}`, but not `\gN` since it wouldn't help when `N` is followed by other digits.