Substituting text in regular expression

Comments

1 comment

  • Avatar
    alejandror

    The issue is the way the initial value of the variable is being set. Using a multiline value in a XML attribute will treat it as a single line. Instead, you should use a XML tag for <value>:

            <setInstallerVariable>
                <name>foo</name>
                <value>multiline
    variable
    value</value>
                <persist>1</persist>
            </setInstallerVariable>
    

Please sign in to leave a comment.