You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Currently we have %header.set.matchFromBody(hdr,regex,"replacement text")% which allows us to set replacement text on something if we find the regex expression match (which might be different text).
I would like an .append version of that, as in: %header.append.matchFromBody(hdr,regex,"text to append")%
I will mull it over during the weekend. Basically it just means to extend all header.append functions with the matchFromBody keyword. Apparently it is already a legal token; I don't currently recall if I prepared that for implementing it later or is it already implemented (undocumented) and is only missing the "replaceArgument" parameter? (third param is expected to be matchGroup)
Currently we have
%header.set.matchFromBody(hdr,regex,"replacement text")%
which allows us to set replacement text on something if we find the regex expression match (which might be different text).I would like an
.append
version of that, as in:%header.append.matchFromBody(hdr,regex,"text to append")%
I mention here a use case for this.
Thanks for considering my request! :)
The text was updated successfully, but these errors were encountered: