Regex only capture the last instance of capture group in matchAll

I try to get both btn=event_landing_page_link and csb=cbs with Javascript matchAll

{% include "emails/builder/html/router/button/_new_tab_base_button.html" with btn=event_landing_page_link csb=cbs %}

If I use the regular expression below,

/w+=w+/g

I can get both of them.

[
    [
        "btn=event_landing_page_link"
    ],
    [
        "csb=cbs"
    ]
]

However, I want to add condition that the matched groups need to be preceded by with

/(?<=with)(s*(w+=w+)s*)+/g

then I can only get

[
    " btn=event_landing_page_link csb=cbs ",
    "csb=cbs ",
    "csb=cbs"
]

How can I get all the matched groups