|
When you define requirements in paragraph or headings, by default, the description of the requirement is the following text. Requirement keys in paragraphs: |
|
|
Here are my requirements: |
||
|
|
|
|
With the configuration macro, you can:
|
|
|
After inserting the macro and publishing the document, here is my requirement again: |
|
When requirements are in headings
|
You can ignore the numbered headings by passing a regular expression specifying the numbering format. My headings: |
|
|
will get saved as: |
|
Here are a few common ways to number headings and their regexes:
|
Numbering |
Example |
Regex |
|---|---|---|
|
Decimal |
1.2. |
^(\d+\.)+\s* |
|
ISO-2145 |
1.2 |
^(\d+\.?)+\s* |
|
Lower-latin |
a.b. |
^([a-z]+\.?)+\s* |
|
Upper-latin |
A.B. |
^([A-Z]+\.?)+\s* |
|
Upper-roman |
I.II.III. |
^([IVXLC]+\.?)+\s* |