hello all
im trying to capture only the first brackets but no matter what i do i keep capturing from the first brackets to the last one , here what i have :
<% if (!Env.strLen(oidInvoice)); szDocumentTitle = Env.formatS("S",Env.getMsg("BP_INVOICE_ENUMERATION_CREATE_TITLE")) %>
and the regexp i have is :
if($r=~ m/<%\s*(if\s*\(.+?\))\s*%>/gi){
.....
}
i like to capture only : if (!Env.strLen(oidInvoiceEnum))
with no luck what im doing wrong?