diff -r 9c1d0c5ed599 -r d4f401b5f90c relpipe-data/examples-rename-groups-backreferences.xml --- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/relpipe-data/examples-rename-groups-backreferences.xml Tue Feb 05 19:18:28 2019 +0100 @@ -0,0 +1,44 @@ + + + Using relpipe-tr-sed with groups and backreferences + sed-like substitution with regex groups and backreferences + 00800 + + + +

+ This tool also support regex groups and backreferences. Thus we can use parts of the matched string in our replacement string: +

+ + + +

Which would convert this:

+
+ +

into this:

+
+ +

+ If there were any other relations or attributes in the stream, they would be unaffected by this transformation, + becase we specified 'r' 'a' instead of some wider regular expression that would match more relations or attributes. +

+ +
+ +