needextend dynamic functions
============================

.. req:: Requirement 1
   :id: REQ_1

.. req:: Requirement A 1
   :id: REQ_A_1

.. req:: Requirement B 1
   :id: REQ_B_1

.. req:: Requirement C 1
   :id: REQ_C_1

.. req:: Requirement D 1
   :id: REQ_D_1

.. needextend:: REQ_1
   :links: [[get_matching_need_ids("REQ_A_")]];REQ_D_1

.. needextend:: REQ_1
   :+links: REQ_D_1 , [[get_matching_need_ids("REQ_B_")]]
