Wildcards vs Regex

Wildcards

The wildcard matcher uses the characters ? and * to represent a single or multiple (zero or more) wildcard characters, including space.

For example:

Regular expression (regex)

The option Advanced Reg. Exp. (see Options Menu) changes the syntax used by some tags (see Tag summary).

In this case the meaning of ? and * is different. To remember that this option is enabled, the field is displayed in orange color. The syntax of regular expression is powerful and complex.

Some links to learn advanced regular expression:

Statement extraction with wildcards

Blue cells accept wildcards.

Example 1

<REQ_0010> About box
The software has an about box.
#EndText
#Version 1

<REQ_0020> About Cancel
The about box has a Cancel button.
#Deleted

The syntax is :

Example 2

N£  REQ-BASIC-0010  £N
T£ MAX OPERATING CONSUMPTION
Maximum operating consumption is 30W.  £T

Note

Space are not allowed between BEGIN STAT and , same between and END STAT. is not useful and is not managed ; it is included in the text of the statement.

The syntax is :

Example 3

[CAT-TRA-REQ-192]
Operating System
Upper req:  EXB-TRA-REQ-124
Detail
The software is installable on Windows platform.
End of requirement

The syntax is :

Statement extraction with regex

Orange cells accept advanced regular expression (regex).

Example

#R_MYSOFT_REP_L1_003_V00 General - Report - Design - File
Every output report must be available with [Preview] button, as illustrated in the computation function.

#R_MYSOFT_REP_L1_004_V00 General - Report - Design - Page
Each report page must display:
* "Material" [Name]
* "Type" [Type]

The end statement is not used. Then the syntax must limit the variable part to exclude the following text.

The syntax is :

Coverage extraction with wildcards

Blue cells accept wildcards.

Example

Open the About menu, a dialog box opens with the file name, the copyright and  version. <<REQ_0123>> (partial) (v1.4)

The tags are:

Coverage extraction with regex

Orange cells accept advanced regular expression (Regex).