Use Regular Expressions
In certain sections of the CAST Delivery Manager Tool, you can use Regular Expressions to filter, exclude and ignore certain items.
For example, when adding a Source package for Folder based source code, it is possible to specify which folders and files you want the CAST Delivery Manager Tool to ignore during the Packaging process:
The following is an explanation of the Regular Expression system used by the CAST Delivery Manager Tool and some examples of how to use it.
System in use
The CAST Delivery Manager Tool uses the Java Regular Expression system - you can find out more about this here: http://docs.oracle.com/javase/6/docs/api/java/util/regex/Pattern.html
Dialog box
When you want to add in a new Regular Expression, the following dialog box will be displayed:
Regular expression | Enter your Regular Expression here. Some examples are given below:
Number of characters | ||||||||||||||||
Case sensitive | Tick this checkbox if you would like the Regular Expression to function in case sensitive mode. | ||||||||||||||||
Test string | Use this option to check whether the Regular Expression you have entered will match the string you require. Enter the string you wish to match in this field. Click the Check option to run the test. Results are displayed in the Test result field. | ||||||||||||||||
Test result | This field displays the result of the check carried out using the string entered in the Test string field. |