@@ -14154,8 +14154,8 @@ Failed: error 119 at offset 3: parentheses are too deeply nested
1415414154
1415514155/abc/replace=a$++
1415614156 123abc
14157- Failed: error -35 at offset 2 in replacement: invalid replacement string
14158- here: a$ |<--| + +
14157+ Failed: error -49 at offset 3 in replacement: unknown substring
14158+ here: a$+ |<--| +
1415914159
1416014160/abc/replace=a$bad
1416114161 123abc
@@ -15980,6 +15980,68 @@ Failed: error -49 at offset 3 in replacement: unknown substring
1598015980 LabcR\=replace=>$_<
1598115981 1: L>LabcR<R
1598215982
15983+ /A(.)|B(.)/
15984+ AMZ\=replace=>$+<
15985+ 1: >M<Z
15986+ BMZ\=replace=>$+<
15987+ 1: >M<Z
15988+ AMZ\=replace=>$+
15989+ 1: >MZ
15990+ AMZ\=replace=>$+{name}
15991+ Failed: error -35 at offset 2 in replacement: invalid replacement string
15992+ here: >$ |<--| +{name}
15993+ BMZ\=ovector=2
15994+ Matched, but too many substrings
15995+ 0: BM
15996+ 1: <unset>
15997+ BMZ\=ovector=3
15998+ 0: BM
15999+ 1: <unset>
16000+ 2: M
16001+ BMZ\=ovector=2,replace=>$+<
16002+ Failed: error -54 at offset 3 in replacement: requested value is not available
16003+ here: >$+ |<--| <
16004+ BMZ\=ovector=3,replace=>$+<
16005+ 1: >M<Z
16006+ BMZ\=ovector=2,substitute_matched,replace=>$+<
16007+ Failed: error -54 at offset 3 in replacement: requested value is not available
16008+ here: >$+ |<--| <
16009+ BMZ\=ovector=3,substitute_matched,replace=>$+<
16010+ 1: >M<Z
16011+
16012+ /A|(B)/
16013+ B\=replace=>$1<
16014+ 1: >B<
16015+ A\=replace=>$1<
16016+ Failed: error -55 at offset 3 in replacement: requested value is not set
16017+ here: >$1 |<--| <
16018+ B\=substitute_unset_empty,replace=>$1<
16019+ 1: >B<
16020+ A\=substitute_unset_empty,replace=>$1<
16021+ 1: ><
16022+ B\=replace=>$+<
16023+ 1: >B<
16024+ A\=replace=>$+<
16025+ Failed: error -55 at offset 3 in replacement: requested value is not set
16026+ here: >$+ |<--| <
16027+ B\=substitute_unset_empty,replace=>$+<
16028+ 1: >B<
16029+ A\=substitute_unset_empty,replace=>$+<
16030+ 1: ><
16031+
16032+ /ABC/
16033+ ABC\=replace=$+z
16034+ Failed: error -49 at offset 2 in replacement: unknown substring
16035+ here: $+ |<--| z
16036+ ABC\=substitute_unknown_unset,replace=$+z
16037+ Failed: error -55 at offset 2 in replacement: requested value is not set
16038+ here: $+ |<--| z
16039+ ABC\=substitute_unset_empty,replace=$+z
16040+ Failed: error -49 at offset 2 in replacement: unknown substring
16041+ here: $+ |<--| z
16042+ ABC\=substitute_unknown_unset,substitute_unset_empty,replace=$+z
16043+ 1: z
16044+
1598316045/^(o(\1{72}{\"{\\{00000059079}\d*){74}}){19}/I
1598416046Capture group count = 2
1598516047Max back reference = 1
0 commit comments