[llvm] [Support] Add `\g<ref>` backreferences in Regex::sub() (PR #67220)

Fangrui Song via llvm-commits llvm-commits at lists.llvm.org
Wed Sep 27 22:06:27 PDT 2023


MaskRay wrote:

Using `\g` for replacement looks good. https://www.regular-expressions.info/replacebackref.html

https://github.com/llvm/llvm-project/pull/67220


More information about the llvm-commits mailing list