<ReplacementToken> element

The <ReplacementToken> element is used to configure custom replacement tokens.


Attribute name Status Default Description
TokenName mandatory The name of the custom token. With this name you can reference the new custom token in other tags using #TokenName#.
Value mandatory The content of the new custom token. This can be a constant string, but you can also reference other replacement tokens here.
RegExPattern optional If a regex is specified it will be applied on the Value. The result is the actual content of this custom replacement token.


<ReplacementToken TokenName="Foo" Value="a constant text" />
<ReplacementToken TokenName="Bar" Value="#author# (#revision#)" />
<ReplacementToken TokenName="BugID" Value="#logmessage#" RegExPattern="Bug #(/d*)" />

Last edited Jan 12, 2014 at 2:24 PM by markushastreiter, version 3


No comments yet.