The Contains Condition can be used to check whether string, variable value or file content contains a given pattern.
The pattern can be a plain string or a regular expression.
The Contains condition has been introduced in IzPack 5.0.
A source string where to look up the pattern.
Variable substitution takes places before the string is processed by the condition.
A variable name, the pattern is looked up in the variable's value.
A text file name, the pattern is looked up in the file's content.
Variable substitution takes places before the file name is processed by the condition.
Be aware that the given file is opened and parsed quite many times during an installation process each time conditions get to be evaluated, to not slow down the installation process that much.
The substring or regular expression to look up in the contents.
Whether to look up an entry on each line separately or just on a compact content.
This makes sense especially for file contents and regular expression patterns, but applies on all combinations of sources.
|no||false||Whether to look up case-insensitive.|
|no||false||Whether the value should be considered a Java regular expression pattern for looking up a content.|