the bottom field of the regex replace should also support regex
for example this pattern (zombie|spider|skeleton|witch) to
with this text
add 3x zombie to {_stages::*}
add 3x spider to {_stages::*}
add 3x skeleton to {_stages::*}
add 3x zombie to {_stages::*}
and this substitution value {-enemies::$1} to
should return
add 3x {-enemies::zombie} to {_stages::*}
add 3x {-enemies::spider} to {_stages::*}
add 3x {-enemies::skeleton} to {_stages::*}
add 3x {-enemies::zombie} to {_stages::*}
and not
add 3x {-enemies::$1} to {_stages::*}
add 3x {-enemies::$1} to {_stages::*}
add 3x {-enemies::$1} to {_stages::*}
add 3x {-enemies::$1} to {_stages::*}
the bottom field of the regex replace should also support regex
for example this pattern
(zombie|spider|skeleton|witch) towith this text
and this substitution value
{-enemies::$1} toshould return
and not