09-07-2011 03:54 AM
Hi all,
I'm encountering a problem with Requirements Gateway 1.1 build 586.
I do have a wordx file in which I use tables. In these tables, there are some coverage information for some upstream requirements. These coverages are well detected by requirements gateway.
I do also have some new requirements defined in such tables and these aren't detected by requirements gateway (although I use the correct styles). The only way to get them recognized is to move them out of the table...
Any ideas ?
BR,
Martin
09-08-2011 02:39 PM
Martin -
You will have to create a custom WordX type to be able to parse requirements within tables. When you create the custom WordX type, try changing the Requirement regular expression from:
^Requirement_ID[ \t]+(\S+)(?:[ \t]*\:[ \t]*(.+)|)$
To:
^.*Requirement_ID[ \t]+(\S+)(?:[ \t]*\:[ \t]*(.+)|)$
Let me know if this helps.
09-09-2011 09:33 AM
Dear Manooch,
I did not quite work, as we have several columns with a requirement in each. A colleague (more familiar with regular expressions than me I have to admit ) came with the following expression that does the work perfectly.
Requirement_ID[ \t]+(\S+)(?:[ \t]*\:[ \t]*([^\|]+))
Thanks for your help !
09-09-2011 10:17 AM
Good to hear Martin. Glad you are able to move forward.
01-06-2017 06:14 AM
This regex worked for me:
\|\d Requirement_ID[ \t]+(\S+)(?:[ \t]*\:[ \t]*(.+)|)$