Open kckennylau opened 8 years ago
For example, the regex (.)+, when applied to abcd, would have the first capture group containing for elements, {a,b,c,d}.
(.)+
abcd
{a,b,c,d}
The feature request is to create a substitution pattern, for example $a, to substitute all of the capture groups.
$a
Demonstration:
(\d)+
$a1$a1
abc123def456
abc123123def456456
((a)|(.))+
$a1$a2
abcabbcab
aaabcbbcb
For example, the regex
(.)+
, when applied toabcd
, would have the first capture group containing for elements,{a,b,c,d}
.The feature request is to create a substitution pattern, for example
$a
, to substitute all of the capture groups.Demonstration:
(\d)+
replaced by$a1$a1
abc123def456
abc123123def456456
((a)|(.))+
replaced by$a1$a2
abcabbcab
aaabcbbcb