title: Match a substring using regex pattern
body: <p>I'm trying to match a substring using regex.</p>
  <p>An example of the substring I've got is:
  <code>&quot;{{simple-array.text}}{{simple-array.option}}&quot;</code>.</p>
  <p>Using the following pattern: <code>{(.*?)}</code>, I get the following two matches: <code>{{simple-array.text}</code> and <code>{{simple-array.option}</code>.</p>
  <p>I'm not sure how to get the following output using regex:
  <code>{simple-array.text}</code> and <code>{simple-array.option}</code>.</p>