|Download Help (Windows Only)|
A requirement expresses a need or constraint, such as a technical constraint, cost, or deadline. For example, a requirement element may interpret the text [REQ: reqid], where reqid is the requirement ID.
The following table shows a typical requirement statement in an Excel source document that contains a requirement ID and requirement text.
|Requirement ID||Requirement Text|
|REQ1||This is the requirement text.|
The following figure shows the intermediate file for the Excel source document.
Alternatively, complete the following steps to specify a single regular expression to capture both the requirement ID and text.
Typically, you capture a requirement ID first, and then the requirement text. However, you may specify the requirement text before the ID, as shown in the following table.
|Requirement Text||Requirement ID|
|This is the requirement text.||REQ1|
Capture such a requirement by using the expression \|1 ([^\|]+)\|2 (REQ\d+) and assigning the first field ([^\|]+)to capture the text and the second field (REQ\d+)to capture the ID.