I've been trying to retrieve both, attributes' names, and values using Regex, tried different suggestions and none of it worked for me, whether it gets the first attribute, or nothing at all.
I am trying to use this regex to retrieve parameters passed via underscore customized include method
<% include attr1="value1" attr2="value2" %>
What I need is to get both of these parameters, ex. :
"attr1" : "value1"
"attr2" : "value2"
Thanks in advance