Hello

I've got the following requirement pattern to import :
REQ_XXXX_YYY_0203 requirement title
<html>
Requirement Text in html
Blabla
<blbablba>
#EndText
#Link_to REQ_XXXX_YYY_0203, REQ_XXXX_YYY_0204   #Compliance OK
#Verify Analysis
#Function Software

And I want to import the following requirement metamodel
REQ
        ID -> String
        Text -> String
        Link_To -> Set{REQ reference}
        Compliance -> String
        Verify -> String
        Function -> String

I've managed to capture ID and First line of text with following Regexp :
^(REQ_\w*_\w*_\d*)\s*?.*|^# -> To capture requirement ID

^REQ_\w*_\w*_\d*\s*?(.*|^#) -> To capture Text...

^#Link_to\s*?(.*|^#)

I've got 2 issues
1 - How can I do to capture the whole requirement text... Is there a tip to add 
multiple lines to the requirement
2 -     How can I set the Link_To references after having imported the upstream 
document of this document ?
        Is it possible to set multiple reference for Link_To attribute ?

Any help would be very appreciable
Kind regards

Cédric Gava





_______________________________________________
Topcased-users mailing list
[email protected]
http://lists.gforge.enseeiht.fr/mailman/listinfo/topcased-users

Reply via email to