title: end anchors with double second bracket
body: <p>I want data that only matches the passengerData. I tried like below but it's not working properly</p>
  <pre><code>$getContent='passenger list: 
  
  &quot;passengerData&quot;:{&quot;id-1&quot;:{...},&quot;id-2&quot;:{...},....&quot;id-nth&quot;:{...}};
  
  flight List:
  
  &quot;flightData&quot;:{&quot;id-1&quot;:{...},&quot;id-2&quot;:{...},....&quot;id-nth&quot;:{...}};';
  
  preg_match_all('/&quot;passengerData([^*]+\}})/', $getContent, $matches);
  
  </code></pre>