Hi,
Am I correct in assuming that the replacement texts in the replacer addon are static, so do not include any part of the matching text?
What I hope to achieve is to use a more dynamic replacement text. E.g. consider the following sed pattern:
cat bla.txt | sed 's/\(.*\)/line: \1/'
this will effectively put "line: " in front of every line in the input file.
Is something like this possible in replacer?
A quick look in zap-extensions/addOns/replacer/src/main/java/org/zaproxy/zap/extension/replacer/ExtensionReplacer.java
shows a private static method with the name "replace(...)" but from
what I can make of it, the replace ment text is fixed.
Regards,
Eddy.